Open hmontero1205 opened 6 years ago
thanks for your comment, I have been really struggling with linking both files, thats why I used the full path. I checked million times and it just didn't work...I didnt use "href=style.css", I tried something else, but eventually I made it work with the full path. I will keep it in mind for the future. thanks for your feedback again
Your CSS did not load because the path you provided:
href="/Users/marynatuveson/Documents/CodeAcademy/Dasmotos Arts & Crafts/style.css"
is incorrect. While this may work on your machine, this does not work on mine because I do not have this directory structure.The proper way to reference files in projects (and in general really) is to use relative paths. That is, give the path to the file relative to the current working directory. In this case,
index.html
andstyle.css
are in the same directory, so the path fromindex.html
tostyle.css
would simply be this:href="style.css"