Skip to content

Commit ef3808b

Browse files
Refactor index.html structure and alert behavior
1 parent 89c3e71 commit ef3808b

File tree

1 file changed

+15
-3
lines changed

1 file changed

+15
-3
lines changed

index.html

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,15 @@
1-
<script>
2-
alert("Welcome to Code By Sushil!");
3-
</script>
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<title>Code By Sushil!</title>
5+
</head>
6+
<body>
7+
<h2>
8+
Welcome to<i>Code With Sushil!</i>
9+
</h2>
10+
<script>
11+
alert("Welcome to Code By Sushil!");
12+
window.location.href="https://www.google.co.in";
13+
</script>
14+
</body>
15+
</html>

0 commit comments

Comments
 (0)