<html>
<head>
<style>
#myDIV {
margin-top: 20px;
border: 2px solid black;
width: 200px;
height: 200px;
}
</style>
</head>
<body>
<h1>Change border-end-end-radius with JavaScript</h1>
<p>Click the "Try it" button to change the border-end-end-radius property of the DIV element:</p>
<button onclick="myFunction()">Try it</button>
<div id="myDIV">
<h1>Hello</h1>
</div>
<script>
function myFunction() {
document.getElementById("myDIV").style.borderEndEndRadius = "50px";
}
</script>
</body>
</html>