-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
37 lines (32 loc) · 1.3 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>N body problem</title>
<link rel="stylesheet" href="/css/style.css">
</head>
<body>
<div id="menu">
<div class="dropdown">
<div class="dropdown-content">
<button id="menuButton">Menu</button>
<div id="options" style="display: none">
<button id="addBody">Add Body</button>
<form id="addBodyForm" class="form-group" style="display: none">
<label for="mass">Mass:</label>
<input type="number" id="mass" value="1" min="0" required>
<label for="radius">Radius:</label>
<input type="number" id="radius" value="0.2" min="0.000001" step="0.000001" required>
<button id="confirm" type="submit">Create</button>
</form>
<button id="listBodies">List Bodies</button>
<button id="reset">Reset</button>
</div>
</div>
</div>
</div>
<script type="module" src="/target/renderer.js"></script>
<script type="module" src="/target/domHandler.js"></script>
</body>
</html>