Level 13: Select every pickle to the right of the bento The solution `bento ~ pickle` passes, but I don't think it should. It does not select the pickles on the plates that are to the right of the bento.
CSS Diner
51–60 of 121 posts
I don't think it's meant to. The instructions are a bit ambiguous, but they mean just the pickles that are siblings to the bento, which you can see because only those are bouncing.
Re: CSS Diner
#52Really well done. I'd love to see one of these teaching the CSS animations they use.
The upbeat animations were the highlight for me. Without them I think it would have felt more an exercise than game-like. Kept the positive vibe throughout.
Re: CSS Diner
#53Nice, I've been doing CSS for years but never knew about the "+" or "~" selectors until now.
Anyone have any examples of how they have or would use these in real-life?
Re: CSS Diner
#54Wow. Thank you for this. I'm just starting out in web development and this makes learning CSS a lot easier.
Re: CSS Diner
#55I'm not clear what to do about the game.Could someone give me the solve for level 1 for example.thx
plate
Re: CSS Diner
#56there's a bug in level 9 - you're enforcing an order on the tags
overall this is great
Re: CSS Diner
#57Re: CSS Diner
#58This is awesome! I wish this was there, when I started learing to code. I found it really difficult to understand CSS selectors back then. Great job!
Re: CSS Diner
#59Cool, but it's definitely got some issues. For example, this failed: orange:last-of-type, apple:last-of-type while this worked: apple:last-of-type, orange:last-of-type
It's currently depending on the order of the selected elements to match, but I'm updating it work correctly now.
Re: CSS Diner
#60Quite a bit of fun. One notable issue: several puzzles need to have additional elements or classes added to prevent less sophisticated solutions from working. It's often possible to use a simpler selector than the one being taught in a particular puzzle.
Hey can you give me a specific example that's bothering you?