-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
57 lines (50 loc) · 2.14 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
<!doctype html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>2x2 Rubik's Cube Solver</title>
<link rel="stylesheet" type="text/css" href="style.css">
<script type="text/javascript" src="cube.js"></script>
<script type="text/javascript" src="main.js"></script>
</head>
<body>
<section id="cube" class="fleft">
<div id="up" class="face">
<div data-id="0" data-color="red" class="field"></div>
<div data-id="1" data-color="red" class="field"></div>
<div data-id="2" data-color="red" class="field"></div>
<div data-id="3" data-color="red" class="field"></div>
</div>
<div id="left" class="face clear">
<div data-id="0" data-color="blue" class="field"></div>
<div data-id="1" data-color="blue" class="field"></div>
<div data-id="2" data-color="blue" class="field"></div>
<div data-id="3" data-color="blue" class="field"></div>
</div>
<div id="front" class="face">
<div data-id="0" data-color="white" class="field"></div>
<div data-id="1" data-color="white" class="field"></div>
<div data-id="2" data-color="white" class="field"></div>
<div data-id="3" data-color="white" class="field"></div>
</div>
<div id="right" class="face">
<div data-id="0" data-color="green" class="field"></div>
<div data-id="1" data-color="green" class="field"></div>
<div data-id="2" data-color="green" class="field"></div>
<div data-id="3" data-color="green" class="field"></div>
</div>
<div id="back" class="face">
<div data-id="0" data-color="yellow" class="field"></div>
<div data-id="1" data-color="yellow" class="field"></div>
<div data-id="2" data-color="yellow" class="field"></div>
<div data-id="3" data-color="yellow" class="field"></div>
</div>
<div id="down" class="face clear">
<div data-id="0" data-color="orange" class="field"></div>
<div data-id="1" data-color="orange" class="field"></div>
<div data-id="2" data-color="orange" class="field"></div>
<div data-id="3" data-color="orange" class="field"></div>
</div>
</section>
</body>
</html>