fizzbuzzyo
This commit is contained in:
1 parent
54bb07c4bc
commit
7a562bb597
3 files changed
+82
-71
No files matched your search
@@ -63,12 +63,9 @@ Ok, now onto FizzBuzz.
|
||||
|
||||
Open the main.js file and find the loop inside the document ready.
|
||||
|
||||
Write code that does the following:
|
||||
|
||||
* if i is divisable by 3, append a line that reads "Fizz"
|
||||
|
||||
* if i is divisable by 5, append a line that reads "Buzz"
|
||||
|
||||
* if i is divisable by 3 & 5, append a line that reads "FizzBuzz"
|
||||
Write code that does the following:
|
||||
* if i is divisible by 3, append a line that reads "Fizz"
|
||||
* if i is divisible by 5, append a line that reads "Buzz"
|
||||
* if i is divisible by 3 & 5, append a line that reads "FizzBuzz"
|
||||
|
||||
All this should be done as usual, to the printout div.
|
||||
Reference in new issue
Block a user