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

Michael Trier-hofby
Michael Trier-hofby
2,251 Points

Hi guys, i think this is a bug, yes? It is in the code Challenge Task 1 of 5 in Building a website stage 7.

The code challenge is the following: "Select the unordered list with the class contact-info and set the font size to 0.9em. Then, remove all margin, padding, and list styling."

The screenshot of the error and the code (which i think is correct) is here: http://imgur.com/kjGZbcY

Am i doing something wrong?

Thanks in advance and i wanna say that i really like your teachings so far, i started yesterday night and i already feel somewhat used to html and css! :)

3 Answers

The ul has the class contact-info

By writing .class-info ul, you are selecting a ul within class-info. Since there is'nt another ul in there, nothing will change.

It may seem confusing, but there's nothing wrong with the challenge description.

Marileen Mennerich
Marileen Mennerich
1,161 Points

Oh, you're right! Thanks for adding that.

Michael Trier-hofby
Michael Trier-hofby
2,251 Points

Oh yeah :D Well, thanks for helping figuring it out

Marileen Mennerich
Marileen Mennerich
1,161 Points

It isn't so much of a bug as a difference between what they ask you to write, and what they check for.

I got it to work using the following code:

.contact-info { font-size: 0.9em; margin: 0px; padding: 0px; list-style: none; }

With the ul selector, the answer is not accepted. Only if it is left out, the challenge can be completed. So you did the right thing basically :) This should be cleared up to avoid future confusion.

Michael Trier-hofby
Michael Trier-hofby
2,251 Points

Hi Marileen yes okay good to find out how to complete it :)

I just mean "bug" by something thats not 100% right , and as you say i am sure someone else will be confused in the future because of it hehehe...

But thanks for the reply and have a great day!!

Kind regards Michael