Quantcast
Channel: Active questions tagged html - Stack Overflow
Viewing all articles
Browse latest Browse all 73905

Javascript adjustments

$
0
0

I'm new to Javascript so forgive the rudimentary code. Is there some way I could get the code to print with the specified adjustments from the user input?

<!DOCTYPE html>
<html lang="en">
<body>    

  <label for="height">height: </label>
  <input id="height" type="number" min="100" max="600" step="1" value="100"/>

  <label for="width">width: </label>
  <input id="width" type="number" min="100" max="600" step="1" value="100"/>

  <input id="sbutton" type="button" value="Adjust Size"/>

</body>
</html>

Viewing all articles
Browse latest Browse all 73905

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>