Skip to content

Commit 6865493

Browse files
committed
adding behavior.html
1 parent a30c0f0 commit 6865493

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

chapter1/behavior.html

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
<!doctype html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="utf-8">
5+
<title>Just a Generic Page</title>
6+
<script>
7+
setTimeout(wakeUpUser, 5000);
8+
function wakeUpUser() {
9+
alert("Are you going to stare at this boring page forever?");
10+
}
11+
</script>
12+
</head>
13+
<body>
14+
<h1>Just a generic heading</h1>
15+
<p>Not a lot to read about here. I'm just an obligatory paragraph living in
16+
an example in a JavaScript book. I'm looking for something to make my life more
17+
exciting.</p>
18+
</body>
19+
</html>

0 commit comments

Comments
 (0)