Get your own website Result Size: 625 x 565
x
 
<!DOCTYPE html>
<html>
<body>
<button type="button" id="myBtn" onclick="myFunction()">Change the height of this button</button>
<script>
function myFunction() {
  document.getElementById("myBtn").style.height = "50px";
}
</script>
</body>
</html>