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 trialNate W
7,957 PointsCant link main.css to index.html file
index file
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>UI/UX Designer</title>
<link style="stylesheet" href="css/normalize.css">
<link style="stylesheet" href="css/main.css">
</head>
main css file
body {
background-color: orange;
}
3 Answers
Adam Sackfield
Courses Plus Student 19,663 PointsYour link tag for the stylesheet isn't totally correct try this format.
<link rel="stylesheet" href="css/normailze.css" media="screen">
<link rel="stylesheet" href="css/main.css" media="screen">
Jonathan Ortheden
7,044 PointsMake sure that your css file is in a /css directory and not in the same folder as index.html
Nate W
7,957 PointsI used link style=" " instead of link rel=" "
Wow I can't believe i missed that......thanks for your quick responses guys
Adam Sackfield
Courses Plus Student 19,663 PointsAnytime! Sometimes a fresh set of eyes is all that is needed.