DEV Community

Abu Bakar
Abu Bakar

Posted on

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

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.

Top comments (0)