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
Richard Pomeroy
1,108 PointsQuestion: Applying CSS normalize/main
Hello,
I am currently encountering some issues with applying the normalize and main css from the lessons to my project. My current HTML document is as follows:
link rel="stylesheet" href"css/normalize.css" link rel="stylesheet" href"css/main.css"
The directory appears to match what is displayed on the videos and as far as I can tell, the syntax matches the video (unless I am missing something obvious). If anyone could shed any light on this, it would be appreciated as I am eager to continue with the module!
Thanks once again.
Richard
2 Answers
Laura Cressman
12,548 PointsYou need an equals sign between href and the link to the style sheet. For example:
<head>
<link rel="stylesheet" href="css/normalize.css">
<link rel="stylesheet" href="css/main.css">
</head>
Right now, I think you just have href"css/main.css", which is missing that equals sign. Does that fix the issue?
Richard Pomeroy
1,108 PointsHi Laura,
I thought it was likely to be something staring me in the face and it was haha :) I had missed the '=' in href as you suggested in your post. It works prefectly now - thanks for your help! I definitely have a fair bit more to learn ;)
Laura Cressman
12,548 PointsYou're welcome :) Those little details can really get troublesome at times!