r/learnjavascript • u/Likkle_yute9 • Jul 03 '26
Beginner's Luck
Should beginners learn JavaScript just for web development, or learn the language more broadly?
Hi everyone,
I'm a beginner trying to figure out the best way to learn JavaScript.
Most tutorials teach JavaScript in the context of building websites (HTML, CSS, DOM, etc.), but JavaScript has grown into a much broader language with things like Node.js, backend development, desktop apps, mobile apps, automation, and more.
If you were starting from scratch today, would you:
Learn JavaScript mainly through web development first, then branch out later?
Learn JavaScript as a general-purpose programming language first (fundamentals, algorithms, data structures, OOP, async programming, etc.), and then apply it to web development?
Which approach builds a stronger foundation for a complete beginner, and why?
I'd love to hear what worked for you and what you would recommend to someone just starting out
View all comments
Show parent comment
1
u/BrainCurrent8276 Jul 03 '26
I know I guessed it right. And most relevant thing hier is not when you have read 1st edition, but what year is the lastest edition.
It is 2026, at least in my calendar, so JavaScript book from 2016 is still very good source of knowledge but also 10 years old.
I really hope it is true with new edition comming.
No hard feelings, peace bro.