?

Generation

generate functionFri, 10 Feb 2023

Generate a button that you can press to get points.

Script <button onClick="increase();">Click Me</button> <script> var points = 0; function increase() { points += 1; alert("You have " + points + " point(s)"); } </script>

Questions about programming?Chat with your personal AI assistant