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

CSS

Autumn Fisher
PLUS
Autumn Fisher
Courses Plus Student 2,165 Points

I'm having trouble linking my normalize.css and main.css to my index.html Document.

<!DOCTYPE HTML> <html> <head> <meta charset="utf-8"> <title>Autumn Fisher | Student</title> <link rel="stylesheet" href="css/normalize.css" <link rel="stylesheet" href="css/main.css"> </head>

1 Answer

Mohammed Jammeh
Mohammed Jammeh
37,463 Points

Your code looks fine, Autumn. However, just a little error that might stop the CSS files from executing. Firstly, the line that links normalize file does not have a closing tag. Secondly, the html file file does not have the closing tag either. Compare the code below to yours and see if you would see any difference.

<!DOCTYPE html> 
<html> 
    <head> 
        <meta charset="utf-8"> 
        <title>Autumn Fisher | Student</title> 
        <link rel="stylesheet" href="css/normalize.css"> 
        <link rel="stylesheet" href="css/main.css"> 
    </head>

    <body>
    </body>
</html>