path/to/file and ./path/to/file are both relative paths used to access files within the directory you are currently working in. In terms of usage, I am tattling on myself because I use path/to/file more than ./path/to/file … BUT you should use ./path/to/file to limit confusion.
../path/to/file is used to access the directory above the directory you are currently working in. So, let’s say your folder tree (directory) looks something like this:
Looking at the example tree above, we know that index.html and resources are within the same directory: project_folder
Because of this, you will use a relative path—