Skip to content

Commit

Permalink
Update height-converter.html
Browse files Browse the repository at this point in the history
  • Loading branch information
mcnole25 authored Jan 8, 2024
1 parent 1ebfb8c commit 3a6923c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions height-converter.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ <h1>Height Converter</h1>
setInterval(function() {
a = slider.value;
dispDiv.innerHTML = "Height in imperial: " + Math.floor(a / 12) + "'" + a % 12 + "&quot<br>Height in metric: " + Math.round(a * 2.54) + " cm";
}, 100)
}, 10)
</script>
<p class=small-text>Made by JC</p>
</body>
</html>
</html>

0 comments on commit 3a6923c

Please sign in to comment.