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!

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 Basics (2014) Getting Started with CSS External Style Sheets

Anita Deszczynska
Anita Deszczynska
1,099 Points

Html not linking with css

When I refresh the the page it does not show any changes, it looks like css does not connect with my html. I used the code below : <!DOCTYPE html> <html> <head> <title>Lake Tahoe</title> <link rel:"stylesheet" href="css/style.css" > </head>

CSS: body { text-align: center; }

h1 { font-size: 72px; color: white; }

header { background-color: orange; }

p { font-size: 20px; }

is the file style.css in the same HTML folder or a different one?

2 Answers

You link element is wrong. It should be (<link rel="stylesheet" href="css/style.css" >). good luck :)

You are welcome and Good luck :)