vincenius / css-speedrun Goto Github PK
View Code? Open in Web Editor NEWA small fun app to test your CSS knowledge
Home Page: https://css-speedrun.netlify.app
License: MIT License
A small fun app to test your CSS knowledge
Home Page: https://css-speedrun.netlify.app
License: MIT License
ul :first-child
div :not(.foo)
ul :nth-child(2n+3)
div > *
div span[data-item]
p ~ span
form :enabled
#one,#two,#five,#six,#nine
a + span
#foo > .foo
div div span ~ code:not(.foo)
I wonder if a more useful hint that had some time penalty, like "think of :nth-of-type" would help? Or maybe explaining slightly what the pattern is without saying the actual solution
Many of the puzzles can be "solved" quicker in a hacky way than in an ideal way. To actually teach something, after the game is done, it would be great to show intended (ideal) solutions.
From HN (not me):
The intended solution is just :enabled. This is where I think this project has failed badly in its stated goal to “improve your CSS knowledge”, because all it offers in that direction is a little hint link; to actually teach, it needs a set of proposed solutions, and at the end show you any where you differed.
Such a thing might also help suggesting just [data-item] instead of the needlessly-more-specific span[data-item]. And also whether :nth-child(2n+3) was the intended solution on one of them.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.