Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

HTML How to Make a Website CSS: Cascading Style Sheets Use ID Selectors

Max Uhlmann
Max Uhlmann
1,900 Points

link to normalize.css and main.css does not work

Seems that link to normalize.css and main.css is not working. No changes appear in preview.

Same problem as many students before. Unfortunately I couldnt find any mistakes - checked also the hints above.

Would really appreciate some help.

My files look like that:

https://w.trhou.se/xt0mknwrqj

Thanks a lot!!!

4 Answers

As mentioned above. That is the only issue with your code.

Here is a general trouble shooting approach:

If you open the preview of your page and something is not working:

  • open the page in chrome
  • open the dev tools
  • check if there are any error messages in the console (where you are at you don't want failed to load or something)
  • check the sources tab and see if all your files are loading (in your case main.css didn't but normalize.css did)
  • check if your styles are applied and / or if some are applied and others aren't

Treehouse has courses on using dev tools and after building some sites I can tell you that I would have a hard time working without them.

Hi there! In the second link tag you have accidentally spelled "stylesheet" wrong :)

Max Uhlmann
Max Uhlmann
1,900 Points

Thanks a lot guys, now it works.

Was kind of seeing nothing after looking for the problem for ages :)

I had a similar problem. My file name was CSS and my href I was css.