Edit This Code:
<!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>


Result:
Try it Yourself - © w3schools.com