// Variable to store the cookie score let cookie = 0; // Function to handle the button click event function handleClick() { cookie = cookie+ 1; // Update the score on tje webpage document.getElementById("score).textContent = cookie; } // Add event listener to the button document.getElementById("clicckButton").addEventListener("click", handleClick)