sir i always stuclk in giving file position i get confused in betwnn “./index.html” or “/index.html” its just a sample in which thing i gort stuck""
Sir i always stuclk in giving file position i get confused in betwnn "./index.html" or "/index.html" its just a sample in which thing i gort stuck""
@Aditya-Kushwaha-914550392281281 what you need is to go through the linux file paths, this is not related to something specific like node or django(python).
In short, ./ is used when you want to access the file in the same folder. so if you have following hierarchy then
main_folder
- file1.txt
- file2.txt
- folder1
- file3.txt
and you are at main_folder, then ./file1.txt gives file1 and ./folder/file3.txt gives file3
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.
bhaiya i want to contribute in coding blocks one auth but wen in clone it and run in my device it showing error will you please help and please give advice how to contribute in open source
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.