Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Level 17 - Select the small apple and the pickle: Using last-child to get the pickle is not accepted as a possibly correct solution #269

Open
KevinAnggrek opened this issue Mar 24, 2024 · 2 comments

Comments

@KevinAnggrek
Copy link

In Level 17 - Select the small apple and the pickle:

#fancy :last-child, pickle is accepted as a correct answer

However, certain other ways to select the pickle element does not work:
#fancy :last-child, .table :last-child
#fancy :last-child, .table pickle:last-child
#fancy :last-child, div pickle:last-child

@kimroen
Copy link

kimroen commented Jun 6, 2024

Same here! Gave up and just did apple, pickle, but really felt like I wasn't doing what I was supposed to do.

@cspablocortez
Copy link

The answer the program accepts is .small:last-child, as long as you don't put in a space between the selector and the pseudo-element.

This is different from the other levels though, so it's confusing whether there will be a space or not.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants