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 CSS Foundations Selectors Basic Structural Pseudo-Classes

drstrangequark
drstrangequark
8,273 Points

Possible bug in the last challenge of the Selectors section

It is a two exercise challenge and when I do the first exercise, it passes. Then I go onto the second exercise and when I submit it it says "Oops! It looks like Task 1 is no longer passing." or something like that and it takes me back to the first exercise. I've tried exiting and refreshing and all that but it seems stuck in that loop. Is it something I'm doing wrong or is it an issue with the website?

Thanks!

Hi Sam,

You should post your code that you're using when trying to pass task 2.

2 Answers

drstrangequark
drstrangequark
8,273 Points

The code I used is below:

/* Complete the challenge by writing CSS below */ li:last-child{ border:none; }

Roberto Alicata
PLUS
Roberto Alicata
Courses Plus Student 39,959 Points

You forgot to select the UL

ul li:first-child{
    color: white;
 background-color: black;
}
ul li:last-child {
 border: none; 
}