skip to main content
code

javascript typing practice

the thread through every rung

watering the plants

20 rungs

0 of 20start
  1. 01 · say something

    calling a function

    first time you type" ( ) . ;

  2. 02 · keep it in a name

    a name that will not change

    first time you type, =

  3. 03 · a list of them

    an array, and reaching into it

    first time you type[ ]

  4. 04 · a choice

    if and else, and the braces around them

    first time you type> { }

  5. 05 · go through them

    a loop over a list

    nothing new to reach for

  6. 06 · a note to yourself

    a comment, and arithmetic

    first time you type* + - /

  7. 07 · a name for a job

    a function that answers a question

    nothing new to reach for

  8. 08 · a thing with named parts

    an object

    first time you type:

  9. 09 · words with values in them

    a template string

    first time you type$ `

  10. 10 · is it the same?

    equality, and its opposite

    first time you type!

  11. 11 · a shorter way to write a job

    an arrow function

    nothing new to reach for

  12. 12 · make a new list from an old one

    map

    nothing new to reach for

  13. 13 · keep only some of them

    filter, and two conditions at once

    first time you type& <

  14. 14 · one or the other

    or, when either will do

    first time you type|

  15. 15 · when there is nothing there

    a fallback for a missing part

    first time you type?

  16. 16 · a quote inside a quote

    the other quote mark

    first time you type'

  17. 17 · every other day

    the remainder, and a counting loop

    first time you type%

  18. 18 · later, not now

    a timer

    nothing new to reach for

  19. 19 · something happened

    a handler, kept and called later

    nothing new to reach for

  20. 20 · the whole thing

    everything so far, doing one job

    nothing new to reach for