Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 5a4f625

Browse files
alert_box.html
1 parent d4f6825 commit 5a4f625

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

‎alert_box.html

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
<!DOCTYPE html>
2+
<html>
3+
<body>
4+
5+
<p>Click the Button to display alert box.</p>
6+
7+
<button onclick="myFunction()">Try it</button>
8+
9+
<script>
10+
function myFunction() {
11+
alert("Hello! I am an alert box!");
12+
}
13+
</script>
14+
15+
</body>
16+
</html>

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /