News for hackers. Stuff that matters.
Re:CSS Diner by kang on Tuesday March 25, 2014 @02:40AM (#7464259)
Came here to report level 19 as well.

According to the description on level 18

    div p:nth-child(2)
selects the second <p> in every <div>

So on level 19, to select the first <bento> in <div>,

    div bento:nth-child(1) 
should work, but it doesn't. However,

    div bento:nth-child(2)
works. So I think a possible bug here?
Re:CSS Diner by chc on Tuesday March 25, 2014 @03:41PM (#7468391)
The description of :nth-child is misleading here. It would only do that if the first two elements in every DIV were P elements. A more accurate description would be "Selects the second element in each DIV if it is a P." The description given there sounds more like :nth-of-type.