-
Notifications
You must be signed in to change notification settings - Fork 0
/
length.html
65 lines (64 loc) · 3.29 KB
/
length.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
<!DOCTYPE html>
<html lang="en" dir="ltr">
<head>
<title>Conver Anything!</title>
<link rel="shortcut icon" type="image/png" href="icon.png" >
<link rel="stylesheet" href="converter.css">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<script src="https://kit.fontawesome.com/b8ac024939.js" crossorigin="anonymous"></script>
<script type="text/javascript">
function convertm(){
var comp=document.getElementById("e").value;
document.getElementById("x").value = comp*100;
}
</script>
<script type="text/javascript">
function convertcm(){
var comp=document.getElementById("f").value;
document.getElementById("xa").value = comp/100;
}
</script>
</head>
<body>
<nav class="footerpage">
<ul class="dd">
<li><a id="station" href="index.html" >Home </a></li>
<li><a id="station" href="Weight.html" >Convert Weight</a></li>
<li><<a id="station" href="Liquid.html" >Convert Liquid</a>/li>
<li> <a id="station" href="temprature.html" >Convert temperature</a></li>
<li><a id="station" href="Time.html">Convert Time</a></li>
</ul>
<h1>Welcome to the converter app!</h1>
<div class="c">
<p>
Note: You don't need to write the unit after your inserted magnitude.
</p>
<form>
<label for="c">Input number:</label>
<input type="number" class="Userinput2" id="e" min="1"placeholder="M" autofocus>M(Meters)
<input type="button" value="Find the answer?" onclick="convertm();">
<input type="text" class="Userinput2" id="x" placeholder="Result">Cm(Centimeters)
<input type="reset" class="Userinput2" id="rereset" value="reset it!">
</form>
<div id="space">
</div>
<form>
<label for="d">Input number:</label>
<input type="number"
class="Userinput2" id="f" min="1"placeholder="Cm" autofocus>Cm(Centimeters)
<input type="button" class="Userinput2"value="Find the answer?" onclick="convertcm();">
<input type="text" class="Userinput2" id="xa" placeholder="Result">M(Meters)
<input type="reset" class="Userinput2" id="rereset" value="reset it!">
</form>
</div>
</nav>
<footer class="black">
Contact me :
<a href="mailto:Aryan.ayushman.sahoo@outlook.com">
<i class="fas fa-envelope-square fa-4x"></i>
<a href=skype:live:.cid.dd6706b929c05e69?chat>
<i class="fab fa-skype fa-4x"></i>
</a>
</footer>
</body>
</html>