-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathhome.html
More file actions
48 lines (45 loc) · 1.24 KB
/
home.html
File metadata and controls
48 lines (45 loc) · 1.24 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
<html>
<head>
<title>test</title>
<script>
function change() {
let arg1 = document.getElementById("first").value;
let arg2 = document.getElementById("second").value;
document.location.href=`./cgi-bin/adder?${arg1}&${arg2}`;
}
</script>
<style>
.catvideo {
width: 100%;
max-width: 100%;
height: auto;
}
</style>
</head>
<body>
<video class="catvideo" autoplay muted controls alignment="middle" src="cat.mp4"></video>
<p>NewYork City ~?</p>
<input type = "text" id = "first" size = "10">
<input type = "text" id = "second" size = "10">
<button onclick="change()">adder</button>
</body>
</html>
<!-- <html>
<head><title>test</title></head>
<body>
<img align="middle" src="godzilla.gif">
Dave O'Hallaron
</body>
</html> -->
<!-- <html>
<head><title>adder</title></head>
<body>
<form action="/cgi-bin/adder" method="get">
<label for="fnum">First number:</label>
<input type="text" id="fnum" name="fnum"><br><br>
<label for="snum">Second number:</label>
<input type="text" id="snum" name="snum"><br><br>
<input type="submit" value="Submit">
</form>
</body>
</html> -->