-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathproject.html
More file actions
53 lines (46 loc) · 1.16 KB
/
project.html
File metadata and controls
53 lines (46 loc) · 1.16 KB
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
<!DOCTYPE html>
<html lang="en">
<style>
body {
margin: 0;
background-color: #0f021a;
}
p {
text-align: center;
color: aliceblue;
font-size: 30px;
margin: 5%;
}
.float-left {
float: left
}
#playButton {
background: #7623B9;
border-radius: 3px;
display: block;
font-size: 35px;
width: 200px;
}
</style>
<head>
<meta charset="UTF-8">
<title>project01</title>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
</head>
<body>
<div>
<div class="float-left">
<canvas width="1200" height="1200" id="can"> </canvas>
</div>
<div float="float-left">
<button id="playButton">Play</button>
<div>
<p> Click Spase to shoot in aliens </p>
<p> Click left arrow to move left </p>
<p> Click right arrow to move right </p>
</div>
</div>
</div>
<script src="project.js"></script>
</body>
</html>