Ryan Cameron
12
Q:

create buttons html

<button type="button" onclick="alert('You pressed the button!')">Click me!</button>
16
<button>I'm a button</button>
7
<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>
7

    <button type="button">Click Me!</button>
 
2

New to Communities?

Join the community