Professional Documents
Culture Documents
Asfa
Asfa
Lënda - Informatikë
Arbi Jaupaj X2
<!DOCTYPE html>
<html>
<head>
<style>
p, button, input, option, select {display:inline;
font-family:calibri;
font-size:30px}
input {width:120px}
select {width:110px}
body {
background-color : lightBlue;
}
</style>
<title>AL Unit Converter</title>
<link rel="icon" href="aaa.ico">
</head>
<body>
<p style ="color:red;font-family:calibri;font-size:35px">This website is used for the conversion of different measuring units. Tell us
the value and the unit of your measurement and we will convert it to all the other units.</p>
<br><br>
<img src="aaa.jpg"><img src="a.png"><img src="aa.jpg"><br><br>
<br><br><br>
<p>square_meters</p><input onchange="square_meters()" type="number" min="0" id="square_meters">
<p>Hectares</p><input onchange="hectares()" type="number" min="0" id="hectares">
<p>Acres</p><input onchange="acres()" type="number" min="0" id="acres">
<br><br><br>
<p>degrees_celsius</p><input onchange="degrees_celsius()" type="number" min="-273" id="degrees_celsius">
<p>degrees_fahrenheit</p><input onchange="degrees_fahrenheit()" type="number" min="-459" id="degrees_fahrenheit">
<p>degrees_kelvin</p><input onchange="degrees_kelvin()" type="number" min="0" id="degrees_kelvin">
<script>
function meters(){var meters = document.getElementById("meters").value;
document.getElementById("feet").value = (meters * 3.28);
document.getElementById("inches").value = (meters * 39.37);
document.getElementById("miles").value = (meters / 1609.34);
document.getElementById("yards").value = (meters * 1.09)}