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 trialLainey Odette
18,618 PointsHow did you know what the correct <ul> class was?
In the solution video, Dave updated the <ul> class name from "bulleted" (which styled the Employee Status list) to "rooms". There was no guidance on how he knew that. There are no classes in the HTML for either the Employee Status List or the Meeting Room List. I do see the styling in the CSS, but how am I supposed to know which styling was meant for this section of the page since the class isn't defined in the HTML? Do I just scroll through all the CSS and guess? In a real life situation, would I ask the designer? Thanks! That was the only thing I missed in the challenge, so not too bad! :)
3 Answers
Steven Parker
231,248 PointsIf someone else wrote the CSS, they would probably tell you which class names they created for each purpose. Lacking that, you'd just need to read through the CSS and pick the class based on what settings are in the associated rule.
It's more likely that in a real situation you would create the CSS as well as the HTML, and in that case you can pick the class name yourself for both the CSS rule and HTML it will work on.
Lainey Odette
18,618 PointsThank you, Steven! That helps!
Steven Vallarsa
10,842 PointsNope LOL I figured it out on my own the hard way instead of thinking of looking at the notes.
Steven Parker
231,248 PointsThe "hard way" will often guarantee the longest retention.
Steven Vallarsa
10,842 PointsWe weren't properly prepped for this challenge. I had to dig through the CSS to find what the <ul> and <li> class names needed to be.
Steven Parker
231,248 PointsDid you see Norman's comment above? They are called out in the Teacher's Notes.
Noman Rafiq
Full Stack JavaScript Techdegree Student 13,106 PointsNoman Rafiq
Full Stack JavaScript Techdegree Student 13,106 PointsIn the previous video, it was mentioned in teachers notes. The class of ul and li items.