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 How to Make a Website Adding Pages to a Website Style New Pages

Trang Ho
Trang Ho
3,518 Points

My CSS isn't running with my html code even though the folders and coding are correct. What else is going on?

<!DOCTYPE html>

`````<html>

  `````````````````````<meta charset="utf-8">

`````````````````````<title>Trang Ho | Media Consultant</title>

  ``````````````````<link rel="stylesheet" href="css/normalize.css">

<link href="<link href='http://fonts.googleapis.com/css?family=Changa+One|Open+Sans:400italic,700italic,400,700,800' rel='stylesheet' type='text/css'">

    <link rel="stylesheet" href="css/main.css">

</head>

My folders are

How to make a website:
     about.html
CSS (folder)
     main.css
     normalize.css
img (folder)
index.html

3 Answers

Emma Willmann
seal-mask
.a{fill-rule:evenodd;}techdegree seal-36
Emma Willmann
Treehouse Project Reviewer

Is the folder name CSS or css? You show CSS in your list of files/folders, but you linked to css/main.css.

Treasure Porth
STAFF
Treasure Porth
Treehouse Teacher

Where in your html document are you linking to your CSS? Did you make sure to put it in the head section?

Trang Ho
Trang Ho
3,518 Points

Thank you Emma!! That was the problem.