/letter-looper-triangle

Make a small Javascript program that accepts a letter and spits it out a triangle of the letter.

summary time deliverables
Make a small Javascript program that accepts a letter and spits it out a triangle of the letter.
1 hour
1 HTML file, 1 JS file

Letter looper triangle

Overview

  • Fork this repository.
  • Write the Javascript program using variables, prompt() and loops.
  • The text a user enters into the prompt() should be spit out to the page in 10 rows of increasing length.
  • Run it through Markbot and make sure it passes all the checks.

Details

The output in the browser should look like this:

b
bb
bbb
bbbb
bbbbb
bbbbbb
bbbbbbb
bbbbbbbb
bbbbbbbbb
bbbbbbbbbb

Goal

Create the interaction shown in the linked video.


Hand in

Drop this folder into your Markbot application. Make sure to fix all the errors. And submit online.