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
John Hu
1,556 PointsCan someone tell me why this isn't passing the quiz on Part3 of "CSS Foundations Text, Fonts, and Lists List Styles".
/* Complete the challenge by writing CSS below */
ul {
list-style-type: none;
ul li {
background: url('img/marker.png');
}
ul li {
margin-bottom: 20px;
}
3/3 "Add a bottom margin of 20px to the list items."
5 Answers
Kathy Manchester
1,541 PointsIt should be:
ul { list-style-type: none;}
ul li { background: url('img/marker.png'); margin-bottom: 20px; }
Frank E. Gatlin
2,503 PointsThis will work, however, you forgot the closing curly bracket after the first rule: ul { list-style-type: none;
Graham Davidson
Courses Plus Student 14,966 PointsAh beaten by Kathy
ul { list-style:none; }
li { background-image(url'img/marker.png'); margin-bottom:20px; }
Khemraj Thapa
8,885 Pointshi John, i think there is syntax error as you ul li inside the ul, so the correct code should look like
ul { list-style-type: none;}
ul li { background: url('img/marker.png');
margin-bottom: 20px;
}
Khemraj Thapa
8,885 Pointsoh dear, beaten by two lol
Kathy Manchester
1,541 PointsWhat do I get for beating the both of you? Lol
Khemraj Thapa
8,885 PointsA big well done frm my side lol
Kathy Manchester
1,541 PointsThanks!
John Hu
1,556 Pointstks guys.!