forked from bkuddin/github
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgithub.html
More file actions
37 lines (26 loc) · 670 Bytes
/
github.html
File metadata and controls
37 lines (26 loc) · 670 Bytes
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>GitHub</title>
</head>
<body>
<script>
// For Loop
/* var i;
for(i=0; i<10; i=i+1){
if(i==5){
break;
}
document.write(i+"<button>Submit</button> <br>")
} */
// While Loop
var i = 0;
while(i<10){
document.write(i+"<button>While Loop</button> <br>")
i=i+1
}
</script>
</body>
</html>