-
Notifications
You must be signed in to change notification settings - Fork 0
/
work.html
67 lines (61 loc) · 2.08 KB
/
work.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
<!-- @format -->
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
<link rel="shortcut icon" href="./img/align_left_icon_128290.ico">
<link
href="https://fonts.googleapis.com/css?family=Montserrat:300&display=swap"
rel="stylesheet"
/>
<link rel="stylesheet" href="./css/work.css" />
<title>Projects</title>
</head>
<body>
<nav class="main-nav">
<div class="nav-container">
<h1>Mini Projects</h1>
</div>
</nav>
<!-- BMI section -->
<section class="bmi-container">
<div class="bmi-left-container">
<img src="./img/bmi.png" alt="">
</div>
<div class="bmi-right-container">
<h1>BMI Calculator</h1>
<br />
<div class="bmi-container-weight bmi-cmn">
<p>Weight(in Kgs) : </p>
<input type="text" placeholder="Weight in Kgs" id="weight" />
</div>
<div class="bmi-container-height bmi-cmn">
<p>height(in inch) : </p>
<input type="text" placeholder="height in inches" id="height"/>
</div>
<div class="bmi-container-calc bmi-cmn">
<a href="#" onclick="bmicalc()">Calculate my BMI</a>
<p class="bmi-result" id="result">Please provide your weight and height</p>
</div>
</div>
</section>
<!-- Weather fetch api -->
<section class="weather">
<div class="weather-left-container">
<h1>Find My Weather</h1>
<p id="location"> </p>
<p id="temperature">34</p>
<p id="temperature-description">Its Cold here</p>
<br>
<p><b>Note :</b> Works only if your system allows your location..!</p>
</div>
<div class="weather-right-container">
<canvas class="icon" width="228" height="228"></canvas>
</div>
</section>
<script src="./js/skycons.js"></script>
<script src="./js/work.js"></script>
</body>
</html>