Skip to content

Instantly share code, notes, and snippets.

<!DOCTYPE html>
<html>
<head>
<title>CSS selectors - Exercise 1</title>
<meta charset="UTF-8">
<link rel="stylesheet" type="text/css" href="selectors-exercise.css">
</head>
@JesterMan
JesterMan / fizzbuzz
Created November 20, 2013 03:38
FizzBuzz js file
<script>
document.write ("<h1>FizzBuzz</h1>");
for (var count = 1; count <= 100; count++) {
document.write (count + " ");
if (count % 3 == 0) {
document.write ("Fizz");
}
if (count % 5 == 0) {
document.write ("Buzz");
}
@JesterMan
JesterMan / FizzBuzz.js
Created November 20, 2013 03:45
Sean's Fizzbuzz
document.write ("<h1>FizzBuzz</h1>");
for (var count = 1; count <= 100; count++) {
document.write (count + " ");
if (count % 3 == 0) {
document.write ("Fizz");
}
if (count % 5 == 0) {
document.write ("Buzz");
}
document.write ("<br>")
@JesterMan
JesterMan / fizzbuzz.html
Created November 20, 2013 03:50
fizzbuzzing
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
</head>
<body>
<script type="text/javascript" src="fizzbuzz.js"></script>
</body>
</html>
@JesterMan
JesterMan / fizzbuzz.html
Created November 20, 2013 03:50
fizzbuzzing
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
</head>
<body>
<script type="text/javascript" src="fizzbuzz.js"></script>
</body>
</html>
@JesterMan
JesterMan / fizzbuzz.html
Created November 20, 2013 03:50
fizzbuzzing
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
</head>
<body>
<script type="text/javascript" src="fizzbuzz.js"></script>
</body>
</html>
@JesterMan
JesterMan / movies.css
Created November 21, 2013 23:54
movie picker - can't quite make it work. 1. unhighlight doesn't function 2. can't get the darn copyright notice to be on bottom unless the lists go across the whole page (haven't exhausted google yet, still focusing on 1)
body {
background-color: #bbd1e0;
font-family: Verdana;
color: white;
}
#wrapper {
width: 900px;
margin-left: auto;
margin-right: auto;
padding: 20px;
@JesterMan
JesterMan / movies.css
Created November 21, 2013 23:55
movie picker - can't quite make it work. 1. unhighlight doesn't function 2. can't get the darn copyright notice to be on bottom unless the lists go across the whole page (haven't exhausted google yet, still focusing on 1)
body {
background-color: #bbd1e0;
font-family: Verdana;
color: white;
}
#wrapper {
width: 900px;
margin-left: auto;
margin-right: auto;
padding: 20px;
@JesterMan
JesterMan / improvedmovie.html
Last active December 29, 2015 01:59
Nick, you know that when you say something like "Think about how is could be made more concise." that really what you're doing is making me stay up till 2 a.m.
<!DOCTYPE html>
<head>
<link rel="stylesheet" type="style/css" href="assets/css/moviestyles.css">
<script type="text/javascript" src="assets/js/improvedmovie.js"></script>
<meta charset="UTF-8">
</head>
<body>
<div id="wrapper">
@JesterMan
JesterMan / style.css
Created December 20, 2013 05:30
tic tac toe
#board {
width: 300px;
height: 300px;
position: relative;
}
.square {
height: 100px;
width: 100px;
position: absolute;
}