Menu

1 / 2

I built a coding practice app in vanilla JS – here's what I learned

DEV Community·Abu Bakar·6 months ago
#QAW6HMn7
#webdev#productivity#javascript#web3#practice
Reading 0:00
15s threshold

Abu Bakar

I got frustrated that there was no good way to actually practice writing
code, so I built one.

It's called CodeTrained — codetrained.app

The idea is simple: you type real code snippets and it tracks your speed
and accuracy. Like typing practice but for actual programming languages.

What it has:

  • 185 exercises across Python, JavaScript, TypeScript, Java, C++, C#, Go and Rust
  • 25 coding challenges including full app builds
  • 6 books you can read and type through chapter by chapter
  • Weekly leaderboard, XP system, streaks, daily missions
  • Works offline as a PWA

The technical bit:
I built the whole thing as a single HTML file in vanilla JS with no
frameworks. Probably a mistake but I learned a lot doing it that way.

It's completely free to use. Would love any feedback — I've been staring
at it so long I can't see what's broken anymore.