+ 1

Alert example

<!DOCTYPE html> <html> <body>     <p>Click the button to display an alert box.</p>     <button onclick="myFunction()">Click me</button>     <script>     function myFunction() {               alert("I am an alert box!");             }   </script>   </body> </html>

20th Oct 2017, 10:18 AM
Ghouse Shaik
Ghouse Shaik - avatar
1 Odpowiedź
+ 2
Good example. Continue learning JS
21st Oct 2017, 2:56 AM
Muhd Khairul Amirin
Muhd Khairul Amirin - avatar