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

Be sure ro set the color for gallery list items to a color of your choosing.

#gallery li {
  float:left;
  width:45%;
  margin:2.5%;
  font:yellow;
  background-color:blue;
}

Add a margin of 2.5% to the gallery list items. Then, set the text color and background to colors of your choosing.

I can't pass even this code

ro β†’γ€€to

2 Answers

Hi Hirofumi, the problem looks like it's with your font color.

As an example this code sets paragraph text to be blue:

p {
  color: blue;
}

I have used the color property rather than font.

Thanks a lot!

i tried that also but its not working