5 ms·
Huh, I wrote a very similar game a while ago. Select elements with CSS selectors to get to the next level: https://select.pink/ https://select.pink/ Mine displ
by 414owen 5y ago
Huh, I wrote a very similar game a while ago. Select elements with CSS selectors to get to the next level: https://select.pink/ https://select.pink/
Mine displays the elements as nested blocks, instead of printing a tree.
- naseemali925 5y agoThanks for sharing, learnt a few more CSS selectors.
- fgeiger 5y agoWow, nice. I like this even better then the OP. In particular how the levels naturally progress and how the game actively teaches concepts.
- aurbano 5y agoAwesome stuff! I learned a few new selectors, thanks :)
- 414owen 5y agoThanks :) I actually posted https://select.pink/ https://select.pink/ to HN ages ago, but it died in `new`: https://news.ycombinator.com/item?id=24959045 https://news.ycombinator.com/item?id=24959045 OP's game has some nice features. The timing is neat, and to be honest I didn't even consider using the source as the visualization.
- dotancohen 5y agoThis is terrific! Do note that IDs are document unique. I found a duplicate id on the `#pan.cake` exercise.