-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
61 lines (44 loc) · 1.68 KB
/
index.html
File metadata and controls
61 lines (44 loc) · 1.68 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<link rel="stylesheet" href="./all.css">
</head>
<body>
<div>
<!-- 乘法表 -->
<div id="d1"></div>
<input class="inputstyle" type="button" value="生成九九乘法表" onclick="f1()"/>
<div>
<!-- BMI -->
<link rel="stylesheet" href="https://pro.fontawesome.com/releases/v5.10.0/css/all.css"
integrity="sha384-AYmEC3Yw5cVb3ZcuHtOA93w35dYTsvhLPVnYs9eStHfGJvOvKxVfELGroGkvsg+p" crossorigin="anonymous" />
<section class="calculator">
<section class="fields">
<h1>BMI 計算機</h1>
<div class="bmi_calcu">
<label for="bodyHeight">身高 :</label>
<input type="number" class="bodyHeight" min="0">CM
<label for="bodyWeight">體重:</label>
<input type="number" class="bodyWeight" min="0">Kg
</div>
<div class="btn_block">
<input type="submit" value="計算" class="calcualteBMI">
<i class="fas fa-undo reset" title="重新整理"></i>
</div>
</section>
<section class="result">
<h2 class="result_txt">你的BMI:</h2>
<p id="bmiText"></p>
<p id="resultText">0</p>
</section>
<section class="bottom">
</section>
</section>
</div>
</div>
<script src="./all.js"></script>
</body>
</html>