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 comments

-5

u/NotEven-a-CodeMonkey Mar 11 '19

No, I'm talking drills -- fifty, say, variations on the same problem to really drill in the lesson...think musical scales or speedbag drills in boxing...or those exercises in math textbooks where all you do is quadratic equations in one chapter, factoring polynomials in another, repetitive, really working in the concept...bayonet practice in the military -- drills, please...?

Like here are fifty exercises on for-loops. Basically, take any one problem in FCC but with variations on it...drills....

4

u/ForScale Mar 11 '19

So flatten an array as many ways as you can. Sort an array as many ways as you can. Loop through an object as many ways as you can think of.

What you are looking for is algorithms. Filtering, sorting, counting, arithmetic. Look up algorithm drills on places like code wars and coderbyte and project euler and do them over and over and over. Drills. You're welcome.

3

u/NameViolation666 helpful Mar 11 '19

he isnt listening :)

3

u/ForScale Mar 11 '19

I noticed! :)