<html>
<body>
<p id="demo">Click the button to return the highest number of 5 and 10.</p>
<button onclick="myFunction()">Try it</button>
<script>
function myFunction()
{
document.getElementById("demo").innerHTML=Math.max(5,10);
}
</script>
</body>
</html>