Answers for "click here button in html"

0

how to add function to button in html

<script>
 function myFunction() {
   alert("ALERT");
 }
</script>
<button onclick="myFunction()">Click</button>
Posted by: Guest on February-14-2022
0

button clicker code

h1{
  text-align: center;
  color: blue;
}
h2{
  color:blue
}
#clicker{
  color:blue;
}
.click{
  text-align: center
}
body{
  background: pink
}
Posted by: Guest on March-10-2022

Browse Popular Code Answers by Language