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 CSS: Cascading Style Sheets Use ID Selectors

Estil Wallace
Estil Wallace
254 Points

trying css for the first time, attempting to change the background color to orange...

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

Estil Wallace
Estil Wallace
254 Points

heres the main.css

body { background-color: orange; }

3 Answers

Stone Preston
Stone Preston
42,016 Points

your href attributes need to use =, not -

The correct way would be

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

instead you used

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

which is most likely the reason its not working.

Estil Wallace
Estil Wallace
254 Points

Thank you Stone!!! sometimes I just don't see it, thanks again

giri milner
giri milner
2,358 Points

i think that you should: close the tag </head> write <body></body> in your html instead of minus sign after the "href" should be "="

i hope that i helped.