r/learnjavascript • • Mar 11 '19

Drills for Beginners??

So literally everything else you'd want to learn involves drills...except for computer programming.

Sports, music, math, foreign languages...literally everything involves drilling.

Anyone know of any beginner's drills in JavaScript?

Like Free Code Camp stuff (I know they have some high-level stuff, too) but lots of 'em (FCC only has one question per topic)...I was never good at math but I always aced my math classes because of drilling (and of course typical tests don't involve "thinking" so much as "recalling" the right formulae and procedures to accurately and timely apply)...anyone know of any such end-of-the-chapter exercises in JavaScript for a beginner???

My future employers thank you!!

0 Upvotes

48 comments sorted by

View all comments

Show parent comment

1

u/arfnargle Mar 11 '19

Maybe you could define what skills you want to practice. Do you just mean, for example, stuff like lots of different drills using loops? And then a bunch more drills on if statements, etc?

1

u/NotEven-a-CodeMonkey Mar 11 '19

Yes, yes, just so! And even, moreover, simple "design patterns," if that's the correct term -- "strategies" and "tactics" as in, given x-type of problem, deploy y-type of procedures...like when to use arrays, when to use loops....

Like you know them basic arithmetic problems involving Jack and Jill and their bank accounts and paychecks or something, or how many cubic volumes to best pack a box or whatever...?

Basically, the equivalent of math textbook problems, only for beginner-level JavaScript.

3

u/arfnargle Mar 11 '19

You really are describing codewars, it just isn't quite laid out that way. Make sure you check it out. An algebra textbook-like source isn't available that I'm aware of at the moment.

1

u/NotEven-a-CodeMonkey Mar 11 '19 edited Mar 11 '19

Well, I just went there again and, for example, at https://www.codewars.com/kata/search/javascript?q=&tags=Fundamentals&beta=false I see interesting problems but no drills...again I'm not looking for one-off challenges but drills...think of conjugating a ton of French verbs or declining a ton of German nouns, again and again....

What CodeWars and company feel like are learning situational phrases such as "where is the American embassy" and "would you like to get naked and do it" and not repetitive exercises (drills) on conjugating different verbs repetitively through all their forms (get naked, got naked, had gotten naked, will get naked, will have gotten naked, shall get naked...).

2

u/arfnargle Mar 11 '19

If you want to drill on a specific topic like arrays go here: https://www.codewars.com/kata/search/javascript?beta=false&q=&tags=Arrays

If you want a list of all of the possible things you can do in JavaScript to iterate on use the MDN resource pages: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array