-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
59 lines (49 loc) · 1.67 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
<!DOCTYPE html>
<html lang="">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Core Defense</title>
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css" integrity="sha384-MCw98/SFnGE8fJT3GXwEOngsV7Zt27NXFoaoApmYm81iuXoPkFOJwJ8ERdknLPMO" crossorigin="anonymous">
<link rel="stylesheet" href="css/index.css">
<script src="https://unpkg.com/axios/dist/axios.min.js"></script>
<script src="js/p5.min.js"></script>
<script src="js/addons/p5.dom.min.js"></script>
<!-- <script src="js/addons/p5.sound.min.js"></script> -->
<script src="js/addons/p5.play.js"></script>
<script src="js/sketch.js"></script>
</head>
<body>
<div id="container">
<header>
<h1 id="mainHeader"> </h1>
</header>
<form id="myForm" autocomplete="off">
<div class="form-group row" id='theForm'>
<div class="form-group col-4" id="secretpass">
<input type="text" size="35" id="mylevel" pattern="\d*" maxlength="3" placeholder="enter level here" class="form-control" id="secretpassword">
<!-- </div> -->
<!-- <div class="col-1"> -->
<input type="button" onclick="levelChange()" value="Submit">
</div>
</div>
</form>
<div id="canvasDiv">
<!-- Content added by sketch.js -->
</div>
<div id="status" class="row">
<div id="score" class="col-6">
<p id = "myScore">
</p>
<p id = "highScore">
</p>
</div>
<div id="health" class="col=6">
</div>
</div>
<footer>
<a href="humans.txt">Site Info</a>
</footer>
</div>
</body>
</html>