css-diner icon indicating copy to clipboard operation
css-diner copied to clipboard

Level 17 doesn't work?

Open ChrisKissoon opened this issue 11 years ago • 16 comments

I have to select small apple small pickle with last-child selector When i write the selector: .table pickle,plate apple:last-child The small apple and small pickle shimmies but the level is not completed please tell me where i'm going wrong shimmy

ChrisKissoon avatar Aug 19 '15 02:08 ChrisKissoon

Actually I think it's a bad example. Even though it's about :last-child selector, you could pass by just entering apple, pickle

vihanga-liyanage avatar Sep 04 '15 14:09 vihanga-liyanage

I came up with plate#fancy :last-child, .table > :last-child. It doesn't count it as right, but it shakes the right things :)

I wonder if the brace/parenthesis mismatch is causing problems:

board: "{a)()(oO)p"

jk3us avatar Feb 03 '16 23:02 jk3us

+1 confusing and wrong to the newbie interns, please fix!

Other that that great job awesome fun learning experience!

kingIZZZY avatar Jun 02 '16 21:06 kingIZZZY

So in general, I'd like to discourage people form using commas between selectors, and will update the diner to block those attempts - I've added that issue to the roadmap. I think maybe I'll save one special level for showing off the comma between rules syntax, but if the comma is allowed, most of the levels can be solved without using the selector that the level is about.

The rule I intended to solve this level is .small:last-child - does that help?

Thank you for filing and your thoughts!

flukeout avatar Aug 03 '16 15:08 flukeout

---> #fancy apple:first-child, .small:last-child <-----

FmC00 avatar Jan 20 '19 11:01 FmC00

It actually suppose to be:

apple:first-child, pickle:last-child

Owczarkov avatar Feb 13 '19 10:02 Owczarkov

.small:last-child

Abhishek-Dinesan avatar Jan 03 '21 09:01 Abhishek-Dinesan

@flukeout .small: last-child is not working in 17 level

SATYAM6560 avatar Aug 14 '21 07:08 SATYAM6560

.small:last-child

Hi, thanks for the awesome game, it has helped me understand selectors a lot better. As per the solution, wouldn't using the "small" class also select the orange? meanwhile the challenge was to select the apple and pickle. just curious. thanks!

godekina avatar Sep 01 '21 12:09 godekina

pickle,plate apple: only-child worked

lupereda avatar Nov 11 '21 18:11 lupereda

.small: last-child will not work in level 17 .small :last-child will not work in level 17

.small:last-child works. <------ No space

BaffledDevelopment avatar Mar 31 '22 15:03 BaffledDevelopment

.small:last-child

Hi, thanks for the awesome game, it has helped me understand selectors a lot better. As per the solution, wouldn't using the "small" class also select the orange? meanwhile the challenge was to select the apple and pickle. just curious. thanks!

That small orange is actually the first, not last, child and so the solution provided by flukeout will not select it. I wondered the same thing.

xroy-destroy avatar Jun 08 '22 18:06 xroy-destroy

:last-child:not(orange)

LoukHich avatar Aug 12 '23 22:08 LoukHich

Your application has a few bugs, and as a beginner who is just starting to learn, I wouldn't personally recommend your site for newcomers. It tends to create more confusion than its intended value. However, I do acknowledge the significance of exploring every level for the valuable tips provided in the help column, where various selector usages are demonstrated. These insights prove quite useful at times, although I found them a bit perplexing in the context of Level 17 due to a misleading example.

The primary issue stems from the restricted selection of available choices. Despite having the correct answer, it does not allow progression.

Numerous users have reported issues, and I would like to add mine to the list. Specifically, in Level 18:

The selector "div.table > plate:nth-child(3)" does not grant passage, despite its correctness. However, "plate:nth-child(3)" does lead to successful completion.

I want to express gratitude for the effort you've invested in creating this platform. Although it is quite bewildering and can be frustrating due to the constraints imposed on possible solutions, it has significantly contributed to my learning process. Thank you for that.

hubert22143 avatar Aug 22 '23 13:08 hubert22143

plate :only-child, pickle This works.

uicdennis avatar Dec 18 '23 08:12 uicdennis

.small:last-child

Hi, thanks for the awesome game, it has helped me understand selectors a lot better. As per the solution, wouldn't using the "small" class also select the orange? meanwhile the challenge was to select the apple and pickle. just curious. thanks!

No, because there are two oranges in plate where the first element (which is the first-child) is the one with class "small" and the second orange (which is the last-child) doesnt have the class.

Mateyw avatar Jan 07 '24 14:01 Mateyw