-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
102 lines (96 loc) · 3.53 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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
<!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">
<title>SPACE-MASS-CALCULATOR</title>
<link rel="stylesheet" href="style.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
</head>
<body>
<div class="top">
<div class="topnav" id="myTopnav">
<a href="index.html" class="active">Home</a>
<a href="https://grtanything4free.w3spaces.com/" target="_blank">Other Site</a>
<a href="https://creativekushwahaji01.github.io/contact.html">Contact</a>
<a href="https://creativekushwahaji01.github.io/about.html">About</a>
<a href="https://creativekushwahaji01.github.io/blog.html">Blog</a>
<a href="javascript:void(0);" class="icon" onclick="myFunction()">
<i class="fa fa-bars" style="
padding-bottom: 0px;
margin-top: 0px;
margin-bottom: 0px;
padding-top: 0px;
"></i>
</a>
</div>
<script>
function myFunction() {
var x = document.getElementById("myTopnav");
if (x.className === "topnav") {
x.className += " responsive";
} else {
x.className = "topnav";
}
}
</script>
</div>
<main>
<div class="main">
<div class="hed">
<h1 class="heading">Calculate Your Body</h1>
<h1> Weight on Different</h1>
<h1>Planets: A Fun </h1>
<h1>and Educational Tool!</h1>
</div>
<div class="center">
<div class="winput">
<label for="ew">Enter body Weight</label>
<input id=ew type="number">
</div>
<div class="planet">
<div class="planet1" class="input-group">
<label for="planet-select">From:</label>
<select id="f1">
<option value="9.8">Earth</option>
<option value="3.61">Mercury</option>
<option value=" 8.83">Venus</option>
<option value="3.75">Mars</option>
<option value="26.0">Jupiter</option>
<option value="11.2">Saturn</option>
<option value="10.5">Uranus</option>
<option value="13.3 ">Neptune</option>
<option value="0.61">Pluto</option>
</select>
</div>
<div class="planet2" class="input-group">
<label for="planet-select">To:</label>
<select id="planet-select">
<option value="3.61">Mercury</option>
<option value=" 8.83">Venus</option>
<option value="9.8">Earth</option>
<option value="3.75">Mars</option>
<option value="26.0">Jupiter</option>
<option value="11.2">Saturn</option>
<option value="10.5">Uranus</option>
<option value="13.3 ">Neptune</option>
<option value="0.61">Pluto</option>
</select>
</div>
</div>
</div>
<script src="script.js"></script>
</div>
<div class="result">
<button onclick="convertWeight()">Convert</button>
</div>
<div class="output">
<div class="result" id="result"></div>
</div>
</div>
</main>
</body>
</html>