-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
68 lines (60 loc) · 2.11 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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="./assets/favicon.png" rel="shortcut icon" type="image/x-icon"/>
<title>Stupid Webpage</title>
<link rel="stylesheet" type="text/css" href="./css/main.css">
<link rel="stylesheet" type="text/css" href="./css/index.css">
</head>
<body>
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>
<input type="button" id="animCube" class="animate_button" onclick="Animate('cube')" value="Animate the Cube">
<div class="cube" id="cube" onclick="Animate('cube')">
<div class="face front"><img src="./assets/dice_1.png" class="cube_img" alt="img_from_a_dice_side_1"></div>
<div class="face back"><img src="./assets/dice_6.png" class="cube_img" alt="img_from_a_dice_side_6"></div>
<div class="face left"><img src="./assets/dice_3.png" class="cube_img" alt="img_from_a_dice_side_3"></div>
<div class="face right"><img src="./assets/dice_4.png" class="cube_img" alt="img_from_a_dice_side_4"></div>
<div class="face top"><img src="./assets/dice_5.png" class="cube_img" alt="img_from_a_dice_side_5"></div>
<div class="face bottom"><img src="./assets/dice_2.png" class="cube_img" alt="img_from_a_dice_side_2"></div>
</div>
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>
<label for="select_animation" id="select_anim_label">Select a polygon:</label>
<select id="select_animation" oninput="Animate()">
<option value="Default">
Nothing
</option>
</select>
<div class="polygon circle" id="circle" onclick="Animate('circle')"></div>
<div class="polygon triangle" id="triangle" onclick="Animate('triangle')"></div>
<div class="polygon square" id="square" onclick="Animate('square')"></div>
<div class="polygon octagon" id="octagon" onclick="Animate('octagon')"></div>
<div class="polygon pentagon" id="pentagon" onclick="Animate('pentagon')"></div>
<br/>
<br/>
<br/>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/darkreader.min.js"></script>
<script src="./js/main.js"></script>
<script src="./js/index.js"></script>
</body>
</html>