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 Creating HTML Content Include External CSS

Phil Pecoraro
Phil Pecoraro
659 Points

Trouble linking index.html to normalize.css

Hello! I've checked my work repeatedly and I'm following the instructions EXACTLY.

normalize.css is in the css folder where it should be, and I've included <link rel="stylesheet" href"css/normalize.css"> in my index.html file, and I'm still not seeing the results of the css (changed font, no more bullet points in unordered lists, etc.)

Am I doing something wrong, or are other people having this problem?

Would you mind showing your code?

Phil Pecoraro
Phil Pecoraro
659 Points

Sure! I'm not sure if there's a way to upload my project, but here's my code snippet in context:

<head>
    <meta charset="utf-8">
    <title>Phil Pecoraro | Designer</title>
    <link rel="stylesheet" href"css/normalize.css">
 </head>

My file directory looks like:

css/normalize.css
img
index.html

The "normalize.css" document is the standard file that you download on that project.

Thanks in advance for any help! =)

2 Answers

Hi Phil,

Is this what you are referring to?

jeff

<head>
    <meta charset="utf-8">
    <title>Nick Pettit | Designer</title>
    <link rel="stylesheet" href="css/normalize.css">
  </head>
Phil Pecoraro
Phil Pecoraro
659 Points

Yes, and from looking at your code, I've realized that I've missed the "=" after "href"! Thanks!

Glad you got it sorted out. Sorry, I got pulled away after asking to see your code! Cheers.

I'm not sure which challenge you are doing but my guess is that you are linking the wrong css file. The font changes and styling of lists should be in a file called something like style.css. Try linking both stylesheets normalize.css and another css file.