-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtest4.html
38 lines (34 loc) · 1.29 KB
/
test4.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>JavaScript Assignment 4</title>
<link rel="shortcut icon" href="javascript-logo.png" type="image/x-icon" />
<link rel="stylesheet" href="style.css" />
</head>
<body>
<div class="nav">
<a href="index.html"><button>First Assignment</button></a>
<a href="test2.html"><button>Second Assignment</button></a>
<a href="test3.html"><button>Third Assignment</button></a>
<a href="test4.html"><button>Fourth Assignment</button></a>
<a href="test5.html"><button>Fifth Assignment</button></a>
</div>
<script>
var lineNo$1 = "<h2> my-name 1stVariable</h2>";
document.write(lineNo$1);
var lineNo$2 =
"<h2>Variable must begin with <u>alphabetand and underscore.</u></h2>";
document.write(lineNo$2);
var lineNo$3 = "<h2>Variable names are <u>case sensitive.</u></h2>";
document.write(lineNo$3);
var lineNo$4 =
"<h2>Variable names should not be JS <u>Keywords.</u></h2>";
document.write(lineNo$4);
var lineNo$5 =
"<h2>Variable names can only contain <u>numbers, Symbols </u></h2> ";
document.write(lineNo$5);
</script>
</body>
</html>