Heads up! To view this whole video, sign in with your Courses account or enroll in your free 7-day trial. Sign In Enroll
- The for Loop 4:52
- Create a for Loop 1 objective
- Dynamically Display HTML with a Loop 6:52
- Exit a Loop
- Terminate a Loop 1 objective
- The Refactor Challenge 3:00
- The Refactor Challenge – One Solution 3:05
- The Refactor Challenge – Duplicate Code 6:01
- Review for Loops and Exiting Loops 6 questions
- Refactor Code with a Loop 1 objective

- 2x 2x
- 1.75x 1.75x
- 1.5x 1.5x
- 1.25x 1.25x
- 1.1x 1.1x
- 1x 1x
- 0.75x 0.75x
- 0.5x 0.5x
Use a `for` loop to build a string holding HTML, then display it on a web page.
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up-
Gal Parselany
Full Stack JavaScript Techdegree Graduate 26,281 Points1 Answer
-
Dennis Trinidad
Full Stack JavaScript Techdegree Student 759 Points1 Answer
-
Shin Ting Lin
4,906 Points1 Answer
-
Nik Oaks
8,056 Points1 Answer
-
Geovani Mejia
Front End Web Development Techdegree Student 7,940 Points1 Answer
-
PLUS
Spencer Renfro
Courses Plus Student 11,133 Points1 Answer
-
Carmen Chow
Full Stack JavaScript Techdegree Student 578 Points2 Answers
-
ja5on
10,338 Points2 Answers
-
Chun Wang
1,740 Points2 Answers
-
Anh Tran
2,556 Points2 Answers
-
Jonathon Pope
9,930 Points2 Answers
-
Nikita Tsigelberg
2,625 Points4 Answers
-
Tadjiev Codes
9,626 Points2 Answers
View all discussions for this video
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up
You need to sign up for Treehouse in order to download course files.
Sign upYou need to sign up for Treehouse in order to set up Workspace
Sign up