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 CSS Basics (2014) Basic Selectors ID Selectors

red border does not appear

I followed along with video but no change to webpage after reload here is my code:

```body { color: #878787; margin: 0; }

header { background-color: orange; }

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

h2 { font-size: 53px; }

h3 { font-size: 20px; color: #48525c; }

primary-content {

border: 3px solid red; }

<!DOCTYPE html> <html> <head> <title>Lake Tahoe</title> <link rel="stylesheet" href="css/style.css"> </head> <body> <header> <span>Journey through the Sierra Nevada Mountains</span> <h1>Lake Tahoe, California</h1> </header> <div id="primary-content"> <p> Lake Tahoe is one of the most breathtaking attractions located in California. It's home to a number of ski resorts, summer outdoor recreation, and tourist

Gabriel Rosario
Gabriel Rosario
23,602 Points

You need "#"

#primary-content { border: 3px solid red; }

3 Answers

I still get no red border using #primary-content. Style.css

primary-content {

border: 3px solid: red:

}

HTML <div id="primary-content">