Skip to content

Instantly share code, notes, and snippets.

View basquith16's full-sized avatar

Brian Asquith basquith16

View GitHub Profile
@basquith16
basquith16 / index.html
Last active November 4, 2015 19:22
final project
<!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 -->
"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");
// 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.

This is a markdown file