Skip to content

Latest commit

 

History

History
14 lines (7 loc) · 837 Bytes

README.md

File metadata and controls

14 lines (7 loc) · 837 Bytes

FizzBuzz Week 5 Assignment 3

Scenario and Requirements

Tonight you will refactor last night's homework.

You must extract FizzBuzz in to its own file (so you now have two separate files), then load both files in the HTML, and from the second (non-FizzBuzz file) instantiate the FizzBuzz object and call your read method with values from the form input (just as before.) Your writing method must take a DOM node where the output is to be written.

Additionally your constructor function should accept arguments that let you change the strings of "fizz" and "buzz" (e.g. new FizzBuzz('bleep', 'blorp')).

Turning your assginment in

Please fork this repository and create a pull request back to it. Once the request has been made, please post a link to it in Canvas.