11Ago/21

JavaScript | Propiedad del botón MouseEvent

<!DOCTYPE html> <html>     <head>         <title>JavaScript Mouse Event</title>         <style>             body {                 text-align:center;             }             .gfg {                 font-size:40px;                 font-weight:bold;                 color:green;             }         </style>     </head>     <body>         <div class = “gfg”>GeeksforGeeks</div>         <h2>Mouse click event</h2>         <button onclick=”click(event)”>Click me</button>         <pLeer más…