Weird Link Element

Why does the link element have an href of “./styles.css”, instead of the usual and expected “styles.css”?

Challenge: Learn Intermediate CSS by Building a Picasso Painting - Step 4

Link to the challenge:

on some systems (eg. unix/linux as most webservers are) you reference the location of a file that is in the same directory as the index.html by saying “./” in front of the file name.
I am not sure why the curriculum writer decides to show this detail here versus earlier in the course…

1 Like

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.