Counting Game

Intro
A children’s game coded with vanilla Javascript on Codepen.
Tech Stack
- Javascript
- CSS
Details
After stepping away from web development to focus on day trading, I had forgotten much of what I knew about programming. This is one of the first several apps I created when coming back. Even though I had already learned React before, I decided to revisit the basics by building apps using only vanilla JavaScript (and, of course, CSS) – no other tools or libraries. I needed to use the fundamentals I learned in school to build this app.
To play the game, you first set the maximum number you want to count to, then press PLAY. When playing, you click the numbers, one at a time, in ascending order. To win the game, you must click all the numbers in the correct order.
The special thing about this app is that I coded it entirely in just one file, to test how I could handle the complexity of an app without any help from bundlers like webpack.
The experience of developing this app was so much fun that I decided to make another game that is even more complex, the Typing Fast game. You can read more about it here.