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

HTML How to Make a Website Adding Pages to a Website Add and Style Icons

I think this is a bug going on here...

I already set the font-size as:".contact-info ul {font-size: 0.9em;}", but it keeps telling me that I forgot to set the font size to 0.9em. And I can't move on to the next theme because of this... Can anybody help?

4 Answers

Hello,

This specific code challenge is asking you to style an unordered list with the class .contact-info. Your selector .contact-info ul is looking for an unordered list within an element with the class .contact-info.

The selector you are looking for is ul.contact-info.

ul.contact-info {
  font-size: 0.9em;
  // Add the styles for the rest of the challenge
}

I hope this helps address your problem.

Thanks buddy, your answer is very detailed indeed. But I still have a little question: can I just select ".contact-info" only?

Thanks a lot, both way worked!

George Ruiz
George Ruiz
4,553 Points

This is going to sounds kinda like "DUHH" but is that the name given? if it is then make sure that you have your selector correct as far as the "." or "#" maybe you are getting the div and id selectors confused (I only talk from experience)... double check maybe typos. I like rushing through things and this is a constant problem that I am little by little changing.... Good luck and be patient.

I am in different track but I am experiencing the same issues!!!

I am in the Code Challenge: Style the Basic Elements from the Web Design. It is asking me to remove the underlines from all the links on the page. I can see the HTML page in the Preview. But when I click the Editor button I dont see any HTML tags the window is just black. Therefore I cannot do what the challenge is asking me to do and I cannot move forward to the next challenge or video in my track. I already tried to log in and out, refresh my browser several times. But, nothing seems to help.

Any suggestions?

Jeremy Frimond
Jeremy Frimond
14,470 Points

Please post a link to the code challenge and provide us your work.

Haydee,

I am not looking at the challenge, but I think the question contains all of the information you need. By saying "Remove the underlines from all the links on the page", you need to select all the links, and then use a property to remove the underlines.

// Select all links on the page
a {
  // Use the property that removes underlines
}

I hope this helps answer your question.

Jeremy Frimond
Jeremy Frimond
14,470 Points

This will work.

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