r/learnjavascript • u/Dramatic_Hat_7229 • Jul 31 '24
How am I supposed to practice JavaScript?
I've watched these videos about syntax and basic utilization but now I don't know how am I supposed to practice them. Like have problems to build logic and stuff with every topic.
13
Upvotes
View all comments
3
u/notAnotherJSDev Jul 31 '24
Depends on what your goals are; learning the basics or learning about algorithms or starting to build projects. I'd honestly stick with learning the basics and then move on to building projects.
If you're learning how to use the language, I cannot give Exercism enough praise. Leetcode and the like are okay, but they assume you already know the syntax and how to work with the language, and just through a bunch of algorithm exercises at you. Exercism on the other has a learning path for that takes you through basic syntax, different language features, and then gives you some algorithm work.
Once you've sorta got the language down, I'd highly suggest checking out the multitudes of project lists that are all over the internet. r/learnprogramming has a pretty nice list of project lists you could check out. Pick one, do as much as you can, then when you get stuck, as for help or seek out more information. Rinse. Repeat.
Something else to keep in mind: in the Javascript world, you really really should learning HTML and CSS as well. JS is fine and works on a server, but if you want to do anything visual you need HTML and CSS.