-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
80 lines (76 loc) · 2.38 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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="author" content="Sinan Sarikaya" />
<meta name="description" content="Body mass index calculator" />
<link rel="stylesheet" href="style.css" />
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.1.2/css/all.min.css"
/>
<title>BMI Calculator</title>
</head>
<body>
<header>
<div id="logo">
<h1>Sinan <span class="logo">Sarıkaya</span></h1>
</div>
<div class="buttons">
<button class="btn">
<a href="https://instagram.com/sinan.sarykaya" target="_blank"
><i class="fa-brands fa-instagram"></i
></a>
</button>
<button class="btn">
<a href="https://linkedin.com/in/sinansarykaya" target="_blank"
><i class="fa-brands fa-linkedin"></i
></a>
</button>
<button class="btn">
<a
href="https://github.com/sinansarikaya/Javascript-BMI-calculator"
target="_blank"
><i class="fa-brands fa-github"></i
></a>
</button>
</div>
</header>
<main>
<aside>
<img src="bmi.png" width="100%" alt="" srcset="" />
</aside>
<section>
<div>
<h1>Body Mass Index</h1>
<p>Enter your values to see your body mass index.</p>
</div>
<div class="form">
<input type="number" name="weight" id="weight" placeholder="Weight" />
<input type="number" name="height" id="height" placeholder="Height" />
<input type="submit" value="Submit" onclick="handleClick()" />
</div>
<div class="error-page">
<div class="error-header">
<i onclick="closeError()" class="fa-solid fa-xmark"></i>
</div>
<div class="error-container">
<h2>Error!</h2>
<p class="error-message"></p>
</div>
</div>
</section>
</main>
<footer id="footer">
<div class="footer">
<p class="info"></p>
<div class="w3-light-grey">
<div class="w3-green w3-center">0</div>
</div>
</div>
</footer>
<script src="main.js"></script>
</body>
</html>