-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
75 lines (44 loc) · 1.25 KB
/
index.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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
<!DOCTYPE html>
<html>
<head>
<meta charset = "UTF-8">
<title>Semicolon 2nd rule!</title>
</head>
<body>
<h2>First Example</h2>
Any input:<input type = "text" id = "inputValue_one">
<br>
<br>
<button type = "button" onclick = "example_one()">Start</button>
<br>
<ul>
<li id = "result_one"></li>
</ul>
<br>
<h2>Keywords</h2>
<input type = "text" id = "inputValue_two" value = "HelloWorld">
<button type = "button" onclick = "Keywords(1, 0, 0, 0)">return</button>
<ul>
<li id = "result_two"></li>
</ul>
<br>
<br>
<button type = "button" onclick = "Keywords(0, 1, 0, 0)">throw</button>
<ul>
<li id = "result_three"></li>
</ul>
<br>
<br>
<button type = "button" onclick = "Keywords(0, 0, 1, 0)">break</button>
<ul id = "result_four"></ul>
<br>
<br>
<button type = "button" onclick = "Keywords(0, 0, 0, 1)">continue</button>
<ul id = "result_five"></ul>
<br>
<br>
For more explanation please visit -
<a href = "https://github.com/Incrementis/Javascript-semicolon-second-rule-/wiki"> Semicolon second rule Wiki</a>
</body>
<script language = "javascript" type = "text/javascript" src = "rule.js"></script>
</html>