Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

alert javascript

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Alert</title>
</head>
<script>
    function alert() {
        alert("Alert")
    }
</script>
<body>
    <button onclick="alert()">Alert</button>
</body>
</html>
Source by learn.codeinstitute.net #
 
PREVIOUS NEXT
Tagged: #alert #javascript
ADD COMMENT
Topic
Name
2+7 =