Get your own website Result Size: 625 x 565
x
 
<!DOCTYPE html>
<html>
<title>Stones to Grams Weight Converter</title>
<body>
<h2>Weight Converter</h2>
<p>Type a value in the Stones field to convert the value to Grams:</p>
<p>
  <label>Stones</label>
  <input id="inputStones" type="number" placeholder="Stones" oninput="weightConverter(this.value)" onchange="weightConverter(this.value)">
</p>
<p>Grams: <span id="outputGrams"></span></p>
<script>
function weightConverter(valNum) {
  document.getElementById("outputGrams").innerHTML=valNum/0.00015747;
}
</script>
</body>
</html>