-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhomepage.html
46 lines (33 loc) · 1.46 KB
/
homepage.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
<html>
<head>
<!-- <script src="script.js"></script> -->
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3" crossorigin="anonymous">
<link rel="stylesheet" href="style.css">
</head>
<body onload="buildDivs(16)">
<div class= "flex-container">
<h1 id="title">Etch v. 1.0</h1>
<div class="slide-container">
<input type= "range" min="1" max="100" value="16" id ="slider">
<div id="selector">
<div class="selectorButton">Choose Dimensions</div>
</div>
</div>
<div class="button-parent">
<button onclick="changeGridSize(16)">Reset</button>
<button onclick="getDimensions(value)">Custom</button>
<button onclick="changeGridSize(4)">4 x 4</button>
<button onclick="changeGridSize(8)">8 x 8</button>
<button onclick="changeGridSize(16)">16 x 16</button>
<button onclick="changeGridSize(24)">24 x 24</button>
<button onclick="changeGridSize(32)">32 X 32</button>
<button onclick="changeGridSize(40)">40 X 40</button>
<button onclick="changeGridSize(48)">48 X 48</button>
<button onclick="changeGridSize(56)">56 X 56</button>
</div>
<div class="grid-container" id ="containerID">
</div>
</div>
<script src="script.js"></script>
</body>
</html>