HTML Academy
  • HTML Academy
  • Courses
  • Tutorials
  • Courses
  • Tutorials
  • Sign up
  • Log in
  • Home
  • Interactive courses
  • JavaScript programming
  1. Introduction to programming 0/14
  2. Conditions 0/16
  3. Loops 0/26
  4. Arrays 0/28
  5. Functions 0/22
  6. Objects 0/28

Chapter 3: Loops

24 tasks, 2 challenges, 2 summaries

Let’s create a driver for printing pages with variety of modes. With help of loops that we’ll explore in this course.

Start
1. New project: driver development Task
2. Managing the number of copies Task
3. Learning the for loop Task
4. Correcting the loop Task
5. Printing the pages in reverse order Task
6. Printing only odd pages Task
7. Printing only even pages Task
8. Printing driver: copy mode Task
9. Printing driver: all pages Task
10. Printing driver: pages in reverse order Task
11. Print driver: even and odd pages Task
12. Print driver: switching evens and odds Task
13. Accumulation in the loop Task
14. Checks in loops Task
15. Searching for an even number Task
16. How much does printing cost? Task
17. Economy printing Task
18. Saving ink Task
19. Summary of “Loops”. Part 1 Summary
20. Third program: “Protein shake!” Challenge
21. It’s been a “while” Task
22. The while loop, summation Task
23. Another project: a dart machine Task
24. Dart machine: accumulating misses Task
25. Dart machine: defeat Task
26. Dart machine: final scoreboard Task
27. Summary of “Loops”. Part 2 Summary
28. Fourth program: “Mad Dryer” Challenge

Cookies ∙ Privacy ∙ License Agreement ∙ About ∙ Contacts ∙ © HTML Academy OÜ, 2019−2025

VISAMastercard

Log in

or

Forgot your password?

Sign up

Sign up

or
Log in

Restore access

Have you forgotten your password or lost access to your profile? Enter your email connected to your profile and we will send you a link to restore access.

Forgot to connect your email to the profile? Email us and we’ll help.

We are using cookies to gather information which will help you use our website most effectively. You can read about this here or disable this feature if you want. By continuing to browse the site, you agree to our use of cookies.