<html>
<body>
<p>Click the button to change the background color of the document.</p>
<button onclick="myFunction()">Try it</button>
<script>
function myFunction() {
document.body.style.backgroundColor = "yellow";
}
</script>
</body>
</html>