forked from Ayronman3/js-basics
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
58 lines (54 loc) · 1.83 KB
/
index.html
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="style.css">
<title>Document</title>
</head>
<body style="padding-bottom: 1000px;">
<p id="p1"></p>
<p id="p2"></p>
<p id="p3"></p>
<label>Username: </label>
<input type="text" id="username"><br>
<label>Age: </label>
<input style="margin: 10px 38px 10px;" type="text" id="age"><br>
<label for="male">Male:</label>
<input type="radio" name="gender" id="male">
<label for="female">Female:</label>
<input type="radio" name="gender" id="female"> <br>
<button style="margin: 10px 195px;" type="button" id="submit-button">submit</button>
<p id="welcome"></p>
<p id="age-tom"></p>
<hr>
<label>Dollar: </label>
<input type="text" id="dollar"><br>
<button style="margin: 10px 166px;" type="button" id="convert-button">convert</button>
<p id="peso"></p>
<hr>
<label>Find the Hypotenuse of Right Triangle</label> <br>
<label>A: </label>
<input style="margin-top: 20px; width:100px" type="text" id="var_a"><br>
<label>B: </label>
<input style="margin-top: 20px; width:100px" type="text" id="var_b"><br>
<button style="margin: 10px 60px;" type="button" id="compute-button">compute</button>
<p id="hypotenuse"></p>
<hr>
<p id="title">High Score:</p>
<p id="score">0</p>
<label style="display:block;" id="count">0</label>
<div class="buttons">
<button id="decrease">decrease</button>
<button id="reset">reset</button>
<button id="increase">increase</button>
</div>
<hr>
<label for="grade">Grade:</label>
<input type="text" id="grade"> <br>
<button style="margin: 10px 174px;" type="button" id="check-button">check</button>
<p id="show-result"></p>
<p id="pattern"></p>
<script src="index.js"></script>
</body>
</html>