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

Mark Bradshaw
PLUS
Mark Bradshaw
Courses Plus Student 7,658 Points

I'm stuck on this code challenge. I think that I have correctly added the background size and padding. Please help.

I think that I've correctly completed this question in the code challenge, but I'm still getting an error message. Not sure what I'm doing wrong. Please help.

Ken Alger
Ken Alger
Treehouse Teacher

Can you post the question and the code you have submitted? Hard to assist without more details.

1 Answer

Samuel Glister
Samuel Glister
12,471 Points

Hi Mark

If you are doing the challenge i'm thinking of your code should look something similar too this:

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

}

.contact-info a {
  display: block;
  min-height: 20px;
  background: no-repeat;
  background-size: 20px 20px;
  padding: 0 0 0 30px;
}

Hope this helps :)