<button type="button" onclick="alert('You pressed the button!')">Click me!</button>
<button>I'm a button</button>
<html> <head> <title>Buttons</title> </head> <body> <button onclick = "myfunction()">button</button> <script> function myfunction() { console.log("This is a working button"); } </script> </body> </html>
<button type="button">Click Me!</button>