JavaScript exercises (App Academy, w6d2)