<html>
<title>Miles to Kilometers Length Converter</title>
<body>
<h2>Length Converter</h2>
<p>Type a value in the Miles field to convert the value to Kilometers:</p>
<p>
<label>Miles</label>
<input id="inputMiles" type="number" placeholder="Miles" oninput="LengthConverter(this.value)" onchange="LengthConverter(this.value)">
</p>
<p>Kilometers: <span id="outputKilometers"></span></p>
<script>
function LengthConverter(valNum) {
document.getElementById("outputKilometers").innerHTML=valNum/0.62137;
}
</script>
</body>
<!-- Mirrored from www.w3schools.com/howto/tryit.asp?filename=tryhow_js_length_converter_miles_to_kilometers by HTTrack Website Copier/3.x [XR&CO'2014], Mon, 27 Jan 2020 02:39:22 GMT -->
</html>