-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
49 lines (49 loc) · 2.03 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
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="index.css">
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.15.3/css/all.css" integrity="sha384-SZXxX4whJ79/gErwcOYf+zWLeJdY/qpuqC4cAa9rOGUstPomtqpuNWT9wdPEn2fk" crossorigin="anonymous">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<title>🧶</title>
</head>
<body>
<main id="main">
<div id="container">
<article id="user-guide">
<h2>Create a <br>pattern square</h2>
</article>
<div id="inputDiv">
<div id="grid-size-div">
<input id="grid-x" type="number" placeholder="Stitches">
<span>x</span>
<input id="grid-y" type="number" placeholder="Rows">
<div id="row-num-div">
<label for="number-rows">Include row numbers</label>
<input type="checkbox" name="number-rows" id="number-rows" value="include">
</div>
<br><button id="grid-size">Go</button>
</div>
</div>
</div>
<div id="style">
<span id="style-to-con">^</span>
<div id="colour-change-div">
<!-- <h2>Design your <br>pattern</h2> -->
<div class="colour-change">
<input id="bgInput" type="color" value="#FFFFFF">
<button id="bgButton">Main colour</button>
</div>
<div class="colour-change">
<input id="colourInput" type="color" value="#FFFFFF">
<button id="button">Secondary colour</button><br>
</div>
</div>
<div id="table">
</div>
</div>
</main>
<script src="index.js"></script>
</body>
</html>