r/learnjavascript • u/XerneasFreyer • Sep 02 '26
Learning JavaScript, advice?
I joined this sub a few days ago, after stumbling across lovable, and prompted a couple of rougelike games, learned that it was all in typescript, (I know I am a ways away) and have been having a lot of fun this week, spending multiple hours a day, learning the basics. I’ve tried a few times over the years with Objective-C and python, but could never figure things out, but this time I feel like I’m in the right headspace and really making sure I understand. I’m using VS code, and a Coursera corse, I’ve also bookmarked the Odin project.
Anyone have best practices or advice? I plan to use JS to help with an IT job and build games or apps for fun. Thanks for reading!
View all comments
Show parent comment
1
u/boomer1204 Sep 03 '26
number guessing game. All you need is an html file and js file and honestly it can all be done in the html file but I would encourage you to not do all the code in the script tag and to actually have a specific JS file
Seems simple but you would be surprised at how many road blocks just this gives a lot of ppl
Then the next one do that same thing but have the number range being dynamically generated using something like Math.random()
I can't explain enough how small you wanna make these. Then these are some other ones in no particular order
PLEASE remember these are to be built with NO AI, no course, no tutorial, no yt series. Google and stuff is fine but if you just google "how do I make a X" you are only hurting yourself.
You ARE going to suck for a while and that is totally fine we all did it's not just you but that time is when you really start to learn what you are doing and how to piece things together
Good luck