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 trialZan Htet
Front End Web Development Techdegree Student 965 Pointsid and class attribute is not working
css
skills-list {
background-color: aliceblue; padding: 36px ;
} .top-skills{ font-weight: bold; background-color: aliceblue; color: papayawhip; } html <section id="skill-list"> <h2 >Skills</h2> <ul> <li class="top-skill">HTML</li> <li>CSS</li> <li class="top-skill">JavaScript</li> <li>Git</li> <li>Bootstrap</li> <li class="top-skill">Mobile Web Development</li> <li>Accessibility</li> </ul> </section>
1 Answer
jb30
44,807 PointsIn the css section, the name of the id is skills-list
, but in the html section, the name of the id is skill-list
. Try changing skills-list
to skill-list
or skill-list
to skills-list
.
Zan Htet
Front End Web Development Techdegree Student 965 PointsZan Htet
Front End Web Development Techdegree Student 965 Pointsthanks