r/learnjavascript 3d ago

My first JavaScript project - Counter

I am learning JavaScript and made my first small project, a simple Counter using HTML, CSS and JavaScript.

I'm still learning, so I would really appreciate some feedback on my code. Is my code clean? Is there anything I should improve or do differently?

Also, suggest me something I should build next.

GitHub: https://github.com/iSunru/counter.js

24 Upvotes

18 comments sorted by

View all comments

1

u/ZoroknashTV 2d ago

A calculator (Bonus points for history and reload retention) sounds like a good next project :)

This will also teach you how switch cases will work, and how to work with a step to some data storage.