-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
38 lines (37 loc) · 1.24 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
<html>
<head>
<style>
body {
background-image: url("images/background.jpg");
background-repeat: no-repeat;
background-attachment: fixed;
background-size: cover;
}
</style>
<link rel="stylesheet" href="styles.css" />
<link
href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.0-beta3/dist/css/bootstrap.min.css"
rel="stylesheet"
integrity="sha384-eOJMYsd53ii+scO/bJGFsiCZc+5NDVN2yr8+0RDqr0Ql0h+rP48ckxlpbzKgwra6"
crossorigin="anonymous"
/>
</head>
<body>
<h1 id="title">Martial Arts Game</h1>
<div class="container">
<div class="row">
<div class="col-sm">
<canvas id="myCanvas" height="500px" width="500px"></canvas>
</div>
<div class="col-sm btn-group-vertical">
<button id="kick" class="btn btn-success">Kick (Down)</button>
<button id="punch" class="btn btn-success">Punch (Up)</button>
<button id="forward" class="btn btn-warning">Forward (Right)</button>
<button id="backward" class="btn btn-warning">Backward (Left)</button>
<button id="block" class="btn btn-danger">Block</button>
</div>
</div>
</div>
</body>
<script src="main.js"></script>
</html>