Initial commit

master
Tait Hoyem 2 years ago
commit c421adbc9b

@ -0,0 +1,10 @@
<!DOCTYPE html>
<html>
<head>
</head>
<body>
<script type="text/javascript">
document.write("hey now brown cow");
</script>
</body>
</html>

@ -0,0 +1,11 @@
<!DOCTYPE html>
<html>
<head>
</head>
<body>
<script type="text/javascript">
document.write("i love ham");
document.write("and i love bacon too");
</script>
</body>
</html>

@ -0,0 +1,11 @@
<!DOCTYPE html>
<html>
<head>
</head>
<body>
<script type="text/javascript">
var bucky = 32;
document.write(bucky);
</script>
</body>
</html>

@ -0,0 +1,11 @@
<!DOCTYPE html>
<html>
<head>
</head>
<body>
<script type="text/javascript">
var tuna = null;
document.write(tuna);
</script>
</body>
</html>

@ -0,0 +1,13 @@
<!DOCTYPE html>
<html>
<head>
</head>
<body>
<script type="text/javascript">
var tuna = "i am a fish";
var bacon = "baconator?";
var ham = "hamburglarr";
document.write(tuna+bacon+ham);
</script>
</body>
</html>

@ -0,0 +1,15 @@
<!DOCTYPE html>
<html>
<head>
</head>
<body>
<script type="text/javascript">
function funky(){
alert("Ouch!!!");
}
</script>
<form>
<input type="button" value="touch me" onclick="funky()">
</form>
</body>
</html>

@ -0,0 +1,15 @@
<!DOCTYPE html>
<html>
<head>
</head>
<body>
<script type="text/javascript">
function meatball(x){
alert("I love " + x);
}
meatball("bacon");
meatball("natalie Portman");
meatball("good will hunting");
</script>
</body>
</html>

@ -0,0 +1,15 @@
<!DOCTYPE html>
<html>
<head>
</head>
<body>
<script type="text/javascript">
function apples(one, two){
document.write(one + " is better than " + two + "<br/>");
}
apples("bucky", "hobart");
apples("counting crows", "beiber");
apples("strawberry", "coconut");
</script>
</body>
</html>

@ -0,0 +1,14 @@
<!DOCTYPE html>
<html>
<head>
</head>
<body>
<script type="text/javascript">
function addNumbers(a, b) {
var c = a+b;
return c;
}
document.write(addNumbers(3,6));
</script>
</body>
</html>

@ -0,0 +1,18 @@
<!DOCTYPE html>
<html>
<head>
</head>
<body>
<script type="text/javascript">
function doFirst(){
document.write(" first: ");
doSecond();
}
function doSecond(){
document.write(" second: ");
doFirst();
}
doFirst();
</script>
</body>
</html>

@ -0,0 +1,15 @@
<!DOCTYPE html>
<html>
<head>
</head>
<body>
<script type="text/javascript">
function spit(){
var girl = "kelsey ";
document.write(girl);
}
spit();
document.write(girl);
</script>
</body>
</html>
Loading…
Cancel
Save