-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathindex.html
More file actions
50 lines (37 loc) · 993 Bytes
/
index.html
File metadata and controls
50 lines (37 loc) · 993 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
<!DOCTYPE html>
<html>
<head>
<title>my first js class</title>
<script>
console.log("hello world");
console.log("This the second thing.");
console.log("This the third thing.");
console.log(1123124*(100123123/123));
var greeting = "hello world";
console.log(greeting);
var pi = 22/7;
console.log(pi);
var fancySentence = "This is a longer sentence.";
var typeTest = "The quick brown fox jumps over the lazy dog.";
var fancyMath = 1+1+(22/7);
console.log(fancySentence);
var firstName = "Erin";
var lastName = "Sparling";
var fullName = firstName + " " + lastName;
var fullSentence = "My name is " + fullName + ".";
console.log(fullSentence);
alert("hello");
alert("no seriously, hello");
confirm("are you sure you want to continue?");
prompt("what is 1+1?");
alert("no");
</script>
<style>
body {
background-color:gainsboro;
}
</style>
</head>
<body>
</body>
</html>