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!

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

So, I've typed it exactly as described but the "=" after rel in my <link> does not work...

I type:

<link rel="stylesheet" href="css/normalize.css">
<link rel="stylesheet" href="css/main.css">

but the site does not change colour. When saving the index.html file (and closing it), the = after rel are both gone. When typing them again, the Workspaces orange dot on the tab does not appear as if I have not made a change in my file..

While inspecting the site in the DOM Explorer it says:

<link href="css/normalice.css" rel"stylesheet"=""/>

if I change it to include the = after rel in the DOM, the site changes colour.

Is this a Workspaces problem? I've tried it in both Explorer and firefox as I have encountered several problems(as uploading files) that I fixed by changing browser.

1 Answer

Jamie Reardon
.a{fill-rule:evenodd;}techdegree seal-36
Jamie Reardon
Treehouse Project Reviewer

Hi there, the inspected DOM link element you have two mistakes, if you look at the link you have posted to your stylesheet, you can see that you have misspelled normalize incorrectly. The second mistake is your rel attribute, you have no = sign to separate the attribute and its value:

<link rel="stylesheet" href="css/normalize.css">

This code you have posted correctly, so I am thinking its a cached error, try and force refresh the page (ctrl + F5 for Windows).

Also double check that the index.html file has the updated and correctly spelled link element like above and also check that the location of the normalize.css file is in the correct path provided in the href attribute.