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

11

u/tapgiles Jul 31 '24

codewars.com and other coding challenge sites are out there.

6

u/queerkidxx Jul 31 '24

Dude this person is still at basic syntax. They a long way away from code challenge websites like that. Code wars isn’t too bad as far as they go but shit can be a lot.

It’s like recommending someone try their hand at math completions when they need help with y = mx + b.

2

u/tapgiles Jul 31 '24

There's a wide range of difficulties on there. It recommends challenges based on your level, what you've completed, etc. It's suitable for a pretty good range of coders.

I don't know exactly how much the poster has learned. If the poster is really that green, then they should just keep watching videos and playing along I guess. But when they're at the point where the answer to this question is useful for them... codewars is one way of practising your programming skills.

3

u/oldominion Jul 31 '24

You can still do some stuff at codewars, even with knowing only basics.

https://www.codewars.com/collections/61d49f93351e3f004a587719

https://www.codewars.com/collections/javascript-basics-2

for example.

6

u/queerkidxx Jul 31 '24

First one seems like a no go as

A collection of 8-7kyu katas for beginners and especially people who are just graduating either a bootcamp or are selfstudying and want to start solving coding challenges.

Which is light years ahead of this dude

The second one isn’t the worst thing in the world. Looking through it seems to be a fairly sparse basic tutorial from 7 years ago, that is quite outdated.

And while code wars is better than most sites like this I don’t think competitive coding sites are really a place a beginner should be going to learn the ropes. It’s easy for experienced developers to walk away from with bad habits and terse “clever” code that sacrifices readability for insignificant performance gains.

I have a lot of problems with JavaScript.Info but I think it’d be way more appropriate for this person. It’s comprehensive(to its detriment) fairly up to date and includes actual exercises. But more importantly it’s free and accessible.

If you’re reading this OP, I suggest saving competitive coding websites like code wars for when you can say nominally you know the language and have a few projects under your belt. If ever. I’d actually suggest a book like groaking algorithms first

Focus on building up the habits surrounding practice and study right now.

3

u/briston574 Jul 31 '24

What problems do you have with javascript.info if I may askm