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 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">