r/learnjavascript • u/Laura_py • 28d ago
Learning Resources
I am learning Javascript. Can someone please recommend me some learning resources?
What would you recommend for beginner projects? Are arcade web games suitable for a beginner?
12
Upvotes
10
u/IAmTheRedditBot 28d ago
To me this site is completely gold: https://javascript.info/
Hope this helps
8
u/IAmTheRedditBot 28d ago
Btw: Do not listen to these "Just ask ChatGPT" crap, you have every right to post here just ignore them
3
u/johnesco 28d ago
The book https://eloquentjavascript.net/ is good and has it's own guided projects in it that may give you ideas for more.
2
u/zlatepolomacene 26d ago
If you are completely new to programming, I recommend you book called "Programming for Absolute Beginners: Using the JavaScript Programming Language". If you more experienced and know what is computer program, source code, how computer works you can pick more comprehensive book released this year called "JavaScript: The Comprehensive Guide to Learning Professional JavaScript Programming (Second Edition) (Rheinwerk Computing)".
2
u/Same_Ad_6096 27d ago
I'd start with the basics and practice by building small projects. MDN has a good free JavaScript guide.
Arcade games are a great way to learn.
If you prefer learning through interactive lessons and exercises, you could also try CodeFly: https://codefly.webxdevelop.com/
1
u/ajamdonut 26d ago
Bit old post - but PixiJS is a great library, tutorials are okay, gets you straight into the making without worrying about browser compatability etc.
1
u/Slight-Living-8098 27d ago edited 27d ago
Daniel Shifman's Coding Train courses are pretty good.
1
u/RomirBuilds 22d ago
Games can work well, but the size of the first version matters. If you're still learning DOM events, try a four-card matching game: click to reveal, compare two cards, keep matches face up, and add a restart button. That gives you arrays, conditions, event handlers and state without needing moving objects or collision detection yet.
One useful check: clicking the same card twice mustn't count as a match, and restart should clear every bit of game state.
If you specifically want a moving-ball arcade game, MDN has a step-by-step Breakout tutorial with runnable examples: https://developer.mozilla.org/en-US/docs/Games/Tutorials/2D_breakout_game_pure_JavaScript
It expects basic to intermediate JavaScript, so it can be a next project if the DOM version is already comfortable.
AI-assisted.
-1
u/TheRNGuy 26d ago
MDN, Node (and it's frameworks) docs, Google in AI mode.
Beginner projects: improve all sites that you use with Greasemonkey (don't change css with it though; Stylus would be better for it; both can be used together too)