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 trialhan lee
1,088 Points#education { border: 3px solid red; } It is highlighted red as in there is a error
education {
border: 3px solid red; }
education is highlighted red.
1 Answer
Jason Larson
8,361 PointsI'm not sure exactly what your question is here.
If you're following the video, the first CSS declaration you have ( #education{border:3px solid red;}
) will create a red border around the section that has id="education"
. Your second declaration ( education{border:3px solid red;}
) will not display anything on the page because there is no element with the name "education". If you're seeing the border on your page, it is because you haven't refreshed your page, or your browser still has the id declaration in cache.
If this did not answer your question, please reply with more specifics, and I'll try to address your concern.