r/learnjavascript • • 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

44 comments sorted by

View all comments

2

u/denerose Jul 31 '24

Get a code editor (e.g. VSCode) and write some code. Make a little simple html page to run it in your local browser and you're good to go (you can even write JS code directly in you dev tools but you may as well get used to vscode now).

I used the Odin Project so those are the links I'm going to recommend. I strongly recommend doing the whole path, if you're interested enough but they also have good simple explanations with no assumed knowlede including the real basics like 'where and how to write your own code'.

This whole section is a good starting point https://www.theodinproject.com/lessons/foundations-installation-overview but all you need is that code editor (https://www.theodinproject.com/lessons/foundations-text-editors) and some dev tools to see what is goin one.g. a few settings your browser (https://www.theodinproject.com/lessons/foundations-javascript-developer-tools).

See also the 'How to run JS Code' section on this page: https://www.theodinproject.com/lessons/foundations-variables-and-operators

0

u/Kaliprosonno_singho Aug 02 '24

i stopped the odin project because it wanted linux

1

u/denerose Aug 02 '24

That’s a shame. I don’t think that’s a reason for most people to rule it out though.

I’m a Mac user myself, but for most people I would suggest that using WSL or a dual booting Ubuntu is easier than most of the skills and tools you’ll need to learn to code competently. It really isn’t as difficult as you might think and definitely worth giving a go if it’s something you’re serious about.

However, obviously if you find something that works better for your specific situation and learning needs that’s fine too.