Skip to content
Permalink
Browse files

fizzbuzz

  • Loading branch information
Alex Mueller
Alex Mueller committed Feb 17, 2020
1 parent dca3f99 commit 9add38e3f58f460606548992764657aa1f4c568b
Showing with 5 additions and 2 deletions.
  1. +3 −0 .vscode/settings.json
  2. +1 −1 week-4/index.html
  3. +1 −1 week-4/js/main.js
@@ -0,0 +1,3 @@
{
"liveServer.settings.port": 5501
}
@@ -9,7 +9,7 @@
<body>
<h1>Solving FizzBuzz</h1>
<p id="dark">Welcome to the dark side.</p>
<p id="output">
<p id="fizz-output">
Output:
<br>
</p>
@@ -10,6 +10,6 @@ for (let i = 1; i < 101; i++) {
normal = false;
}
console.log(normal ? i : rules.join(''));
document.getElementById('output').innerHTML +=
document.getElementById('fizz-output').innerHTML +=
(normal ? i : rules.join('')) + '<br>';
}

0 comments on commit 9add38e

Please sign in to comment.
You can’t perform that action at this time.