-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathProjectileMotion.html
More file actions
33 lines (33 loc) · 1.17 KB
/
Copy pathProjectileMotion.html
File metadata and controls
33 lines (33 loc) · 1.17 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Projectile Motion</title>
<link rel="stylesheet" href="ProjectileMotion.css">
</head>
<body>
<div class="container">
<div>
<h1>Projectile Motion</h1>
<div class="inBox">
<div>
<label for="velocity">Velocity</label>
<input onchange="checkNumber(this.value)" value="" id="vel" name="velocity" type="text"/>
<label for="angle">Angle</label>
<input onchange="checkNumber(this.value)" id="ang" value="" name="angle" type="text" />
</div>
<div class="btn">
<button onclick="start()">Launch</button>
<button onclick="reset()">Reset</button>
</div>
</div>
</div>
<div class="drawing">
<canvas id="canvas" height="500" width="800"></canvas>
</div>
</div>
<script src="ProjectileMotion.js"></script>
</body>
</html>