This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!doctype html> | |
<html class="no-js" lang=""> | |
<head> | |
<meta charset="utf-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<title>TykeTyme</title> | |
<link rel="apple-touch-icon" href="apple-touch-icon.png"> | |
<!-- Place favicon.ico in the root directory --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"Write a program that prints the numbers from 1 to 100. But for multiples of three print “Fizz” instead of the number | |
and for the multiples of five print “Buzz”. For numbers which are multiples of both three and five print “FizzBuzz”." | |
for(var i = 0; i <= 100; i++) { | |
if((i%3 === 0) && (i%5 === 0)) { | |
console.log("FizzBuzz"); | |
} else if(i%3 === 0) { | |
console.log("Fizz"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 1. Assign the message "Hello, World!" to a variable. | |
var n = "Hello World"; | |
// 2. Assign a different string to a different variable. | |
ar b = "Goodbye, cruel world!"; | |
// 3. Assign a number to a variable. |