Skip to content

Commit 2f5aaa8

Browse files
author
Tyschenko
committed
Add page to display alerts
1 parent 14f4726 commit 2f5aaa8

1 file changed

Lines changed: 16 additions & 0 deletions

File tree

alert.html

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="UTF-8">
5+
<title>Show Alert</title>
6+
</head>
7+
<body>
8+
<button id="alert_button" aria-label="alert_button" onclick="showAlert()">Show Alert</button>
9+
10+
<script>
11+
function showAlert() {
12+
alert("Button was clicked!");
13+
}
14+
</script>
15+
</body>
16+
</html>

0 commit comments

Comments
 (0)