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 trialNathan Bennett
1,536 PointsHaving trouble linking my css with my html
To me it looks like my code is identical to that of Nicks, however, when I refresh my page my css isn't showing up.
5 Answers
Nathan Bennett
1,536 PointsHow do I post my screen shots too?
Adam Broadhead
1,730 PointsTips for asking questions ------------------------------>
:)
Adam Broadhead
1,730 Pointshave you linked your CSS with your HTML page?
example: <link rel="stylesheet" href="css/main.css">
Adam Broadhead
1,730 Pointsadd this under your title in index <link rel="stylesheet" href="css/main.css"> make sure the css file your working on is called main .css
Adam Broadhead
1,730 Pointsadd this under your title in index <link rel="stylesheet" href="css/main.css"> make sure the css file your working on is called main .css
Nathan Bennett
1,536 PointsNathan Bennett
1,536 Pointsso i have this in my html: "<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>Nathan Bennett | Designer</title> <link rel="stylesheet" href="css/normalize.css"> <link rel="stylesheet" href="css/main.css"> </head> <body>"
And this in my css: "body { background-color: orange; }"
After saving both, my page wont turn to a orange background?