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

CSS not working

I added the content below to my index.html file and it's not working!! They look right to me...please help :)

<link rel="stylesheet" href="css/normalize.css" type="text/css" media="screen"> <link rel="stylesheet" href="css/grid.css" type="text/css" media="screen">

7 Answers

Wayne Priestley
Wayne Priestley
19,579 Points

Hi Audrey,

Looks like your code didn't make it into the post. Can you try again?

<link rel="stylesheet" href="css/normalize.css" type="text/css" media="screen"> <link rel="stylesheet" href="css/grid.css" type="text/css" media="screen">

Hi, Thank you for responding...

<head> <meta http:equiv="content-type" content="text/html; charset=utf-8"/> <title> Smells Like Bakin' Cupcake Company</title> <link rel="stylesheet" href="css/normalize.css" type="text/css" media="screen"> <link rel="stylesheet" href="css/grid.css" type="text/css" media="screen"> </head>

Wayne Priestley
Wayne Priestley
19,579 Points

Audrey,

Let me know what part of the course you are on and what the challenge is called and i'll go into it and see for myself.

Then we should be able to sort it out. :)

Hi Wayne, I am at Building a simple Website

  • Creating a website structure
    • Adding Grid css AND normalize css

Both are not working for me...thank you :)

Post your code into codepen.io and then add the link here with a description of your problem, Will be easier codepen has a section for HTML, CSS, jQuery

Wayne Priestley
Wayne Priestley
19,579 Points

ok, i see where you are at now.

first adding a div with the classes container and clearfix,

you need to add a new div above the div with the id in it

<div class="something something">
<! -- the rest of the content goes here -->
</div>
<! -- don't forget to close the div at the end -->

second, adding grid and omega. you have the div already made for you, after the id=featured-cupcake you just need to add class="grid_5 omega" to that.

if you need anymore help or more of an explanation just ask :)

Thank you Wayne!