A program that does one thing and stops can only take you so far. In this course, you’ll teach your code to repeat: count, add up totals, look through text character by character, and keep asking the player until they win or quit.
In this course, you’ll learn how to:
- Repeat code with
whileanddo...while, and stop a loop that never ends - Count with
forloops, add up totals and step through a string’s characters - Leave a loop early with
break, and skip the rest of a pass withcontinue - Plan a program’s inputs, steps and output before you write it
- Ask questions in the terminal with Node’s readline recipe and check the answers
Along the way, you’ll practice in exercises with tests, then build a secret-code guessing game that runs in your terminal and explain it to the mentor.
What’s Included:
- 16 Lessons
- Video Subtitles and Full Transcripts
- Translated Subtitles in 8 Languages
- 2 Downloadable Resources
- Interactive Quiz to Check Your Progress
- 5 Hands-On Coding Exercises
- Q&A With JavaScript Experts: Ask a Question
- Certificate of Completion
Downloadable Resources:
Related Learning Paths: