-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathp1.html
42 lines (42 loc) · 1.1 KB
/
p1.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
<!DOCTYPE html>
<html>
<head>
<title>Project 1</title>
</head>
<body>
<strong>HYPERRECTANGLE</strong>
<br/>
<canvas id="p1Canvas"
width="1000" height="600">
</canvas>
<br/>
<b>Cuboid 1</b>
<br/>
<label for="c1x">X:</label>
<input id="c1x" type="range" min="0" max="1000" />
<br/>
<label for="c1y">Y:</label>
<input id="c1y" type="range" min="0" max="1000" />
<br/>
<label for="length1">L:</label>
<input id="length1" type="range" min="0" max="1000" />
<br/>
<label for="width1">W:</label>
<input id="width1" type="range" min="0" max="1000" />
<br/>
<b>Cuboid 2</b>
<br/>
<label for="c2x">X:</label>
<input id="c2x" type="range" min="0" max="1000" />
<br/>
<label for="c2y">Y:</label>
<input id="c2y" type="range" min="0" max="1000" />
<br/>
<label for="length2">L:</label>
<input id="length2" type="range" min="0" max="1000" />
<br/>
<label for="width2">W:</label>
<input id="width2" type="range" min="0" max="1000" />
<script src="p1.js" id="module"></script>
</body>
</html>