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

external css wont work

<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <title> Wolnie Stewart | Designer </title>
    <link rel="stylesheet" href="css/normalize.css">
    <link rel="stylesheet" href="css/main.css">
  </head>

8 Answers

Ehmmm, I don't see any external CSS?

Try:

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

Your code is missing this line:

type="text/css"

Won't help at all. The browser will detect that by itself.

If not, then he has to make sure his CSS is in the proper directory.

Exactly

Listen, we need your folder structure.

I would make sure both the css files are in the css folder directory

it is in the proper directory they both are in the css folder

Are you linking to them from the same folder that the css folder is in or from a different folder?

Is your CSS file in the CSS folder?

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

is digging in to the a folder named css in the main directory.

Maybe you made the folder and the file but they are saved in separate places?

i got it to work i just did everything from scratch

Thanks for the help everyone!!