-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathhello.html
More file actions
75 lines (74 loc) · 1.9 KB
/
hello.html
File metadata and controls
75 lines (74 loc) · 1.9 KB
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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
<html>
<head>
<title>Hello World!</title>
<style>
body
{
background-color: black;
}
h1
{
color: red;
text-align: center;
font-size: 100px;
font-family: chiller;
}
h2
{
color: red;
text-align: center;
font-size: 100px;
font-family: chiller;
}
p
{
color: red;
text-align: center;
font-size: 60px;
font-family: chiller;
}
button {
background-color: red;
}
</style>
</head>
<body>
<h1>Hello, Nic!</h1>
<h2>Badoink it's Sam</h2>
<p>How are you doing?</p>
<button type="button" onclick="document.getElementById('demo').style.display='block'">Great</button>
<p id="demo" style="display:none">Thanks for telling me.</p>
<button type="button" onclick="document.getElementById('demo2').style.display='block'">Horrible</button>
<p id="demo2" style="display:none">That's too bad.</p>
<<<<<<< HEAD
<iframe width="500" height="500" src="https://www.youtube.com/embed/HcAk2S7-45s"allowfullscreen>
</iframe>
<iframe width="500" height="500" src="https://www.youtube.com/embed/DwF9Nn9UNFU"allowfullscreen>
</iframe>
<iframe width="500" height="500" src="https://www.youtube.com/embed/7Cm-IzLGUHw"allowfullscreen>
</iframe>
<iframe width="500" height="500" src="https://www.youtube.com/embed/-zX9GRAZ3rM"allowfullscreen>
</iframe>
<div id="demo">
<h1>The XMLHttpRequest Object</h1>
<button type="button" onclick="loadDoc()">Change Content</button>
</div>
<script>
function loadDoc() {
var xhttp = new XMLHttpRequest();
xhttp.onreadystatechange = function() {
if (this.readyState == 4 && this.status == 200) {
document.getElementById("demo").innerHTML =
this.responseText;
}
};
xhttp.open("GET", "ajax_info.txt", true);
xhttp.send();
}
</script>
=======
<img src="https://i.imgur.com/G9g5CxT.gif">
>>>>>>> b2c07ce544ea18f8850c885a32ea3503821e676f
<iframe allowtransparency="true" width="485" height="402" src="//scratch.mit.edu/projects/embed/198398863/?autostart=false" frameborder="0" allowfullscreen></iframe>
</body>
</html>