Skip to content

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

Notifications You must be signed in to change notification settings

ltw-webdev-javascript/letter-looper-triangle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published