r/learnjavascript • u/fr4nz13 • Mar 29 '26
Learning JavaScript by building small tools with ChatGPT acting as a tutor. Good approach?
I’ve recently started learning JavaScript and web development, and instead of following a rigid course I’m building very small tools and learning as I go.
So far I’ve built things like:
a simple fasting calculator
a basic metronome with visual beat feedback
My workflow is roughly this:
I design the idea of the tool first.
I ask ChatGPT to explain the concepts I need (DOM, timers, events, etc.).
It explains the logic and sometimes shows small examples.
I write the code myself once I understand it conceptually.
If something breaks, I debug it and only then ask for help again.
So ChatGPT is basically acting like a tutor while I build projects step-by-step, explaining things like:
why a function exists
how a built-in method works
what the code is actually doing
I’m trying to avoid just copying code or starring at a boring tutorial then forgetting everything when I hit the editor and instead understand the structure before implementing it.
Would you say this is a productive way to learn JavaScript, or are there pitfalls I should watch out for?
3
u/Scared-Release1068 Mar 30 '26
It’s a pretty good method But i don’t see why you couldn’t just get a free course first then start doing this. Why learn random concepts for specific tasks, rather than an ordered approach followed by then doing this?