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 c7d31e9

Browse files
Merge pull request #3 from mSalman321/master
alert_box.html
2 parents 70756fb + 5a4f625 commit c7d31e9

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 によって変換されたページ (->オリジナル) /