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
Michaela Babic
7,720 PointsStyle sheet won't link up to html...
<!doctype html>
<html>
<head>
<meta charset="UTF-8">
<link rel="stylesheet" type="text/css" href="css/main.css">
<title>Bayard, Nebraska</title>
</head>
...
1 Answer
Steven Parker
243,134 PointsIs your sheet in the "css" subfolder?
I notice your link is pulling in a sheet named main.css that is located in a subfolder named css. Check both the name and location to be sure it matches. Also, if you file has a syntax error, it might get loaded but ignored.
To enable a more complete and accurate analysis, make a snapshot of your workspace and post the link to it here.
Michaela Babic
7,720 PointsMichaela Babic
7,720 Pointsh4 { text-align: center; }