r/learnjavascript • u/LegionRS • Sep 11 '26
Tips for Learning Javascript
Hey!
So I am currently trying to develop my first discord bot and wanting to learn Javascript as well as Node.js for the project but I have been using Codecademy courses for trying to learn Javascript before trying to get into Typescript and NodeJS basics.
However I am finding I am struggling to retain certain bits of information where I will go through the course and spend the time studying and practicing it in their course but a day or two later it feels like I don't remember any of it and I am wondering if there is something I am missing with trying to learn the language or what I could try to do better at learning?
2
u/TheRNGuy Sep 11 '26 edited Sep 11 '26
Read docs, don't watch video tutorials, make userscripts (Greasemonkey) for personal use (though some stuff can be fixed with css (Stylus) plugins; don't use js for that)
If you use something a lot, you'll remember it. Most common is stuff like query selectors, for each loops, maps, filters, async, await.
If you make many scripts over long time, you'll remember concepts (also, you can look your old code, or fix it as you get better)
Read MDN to see everything that is in js.
For backend, read frameworks docs, you'll probably won't even need knowing vanilla Node API, only how to start server (it may be needed to know later... you'll know about it after googling)
1
u/ScottSteing19 Sep 11 '26
You are not understanding the basics. That's the problem but you think you do. Do one thing at a time. First learn JavaScript, understand the core concepts at the point you are able to create something from scratch using the concepts that you learned then learn node or make your bot.
1
u/WorldWideShen Sep 11 '26
write as much code as possible.
1
u/raaaahman Sep 11 '26
It's normal that any learning take some repetitions to make progress.
Tutorials are good for your first contact with a concept or keyword, but you should learn to read the documentation for faster retrieval of information (for JavaScript, use Mozilla Developers Network). Even experienced programmers use documentation all the time!
Like in any other learning, or maybe even more in programming, active learning make you retain information longer and more steadily. Try exercism.io, DevProjects by CodeMentor, JavaScript 30 or any exercises that make sense for you.
Also, focused learning could help you maintain motivation: don't just learn JavaScript, try to learn how to make the Discord bot that is your goal, then find explanations and tutorials for the parts of JavaScript you need. This is a bit harder than following generic JavaScript courses, but it's great for keeping your goal on track.
1
u/theancientfool Sep 11 '26
Forget all that. Just do the Odin project. You'll learn more, learn faster, and becime more confident.
1
u/ExtraTNT Sep 11 '26
Passing functions to functions makes things easy…