Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

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.