-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
55 lines (55 loc) · 1.77 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
<!DOCTYPE html>
<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="https://fonts.googleapis.com/css?family=Neucha|Inter"
/>
<link
rel="stylesheet"
href="https://maxcdn.bootstrapcdn.com/font-awesome/4.4.0/css/font-awesome.min.css"
/>
<link rel="stylesheet" href="./styles.css" />
<link rel="stylesheet" href="./reset.css" />
<title>Sketchy Pad</title>
</head>
<body>
<div class="flex-container">
<div class="title">
<h1>Sketchy Pad</h1>
</div>
<div class="mode">Mode: Coloring - Click anywhere to change!</div>
<div class="content">
<div class="board"></div>
<div class="buttons">
<button id="black" onclick="changeColor('black')">Black</button>
<button id="eraser" onclick="changeColor('white')">Eraser</button>
<button id="gray" onclick="changeColor('gray')">Gray</button>
<button id="random" onclick="changeColor('random')">Random</button>
<button id="reset" onclick="resetBoard()">Reset</button>
</div>
<div>
<input
type="text"
placeholder="Size of Board"
value="16"
name=""
id=""
onchange="changeSize(this.value)"
/>
<button>Set Size</button>
</div>
<div class="error">Box Size must be between 2 and 100.</div>
</div>
<div id="footer">
<a href="https://github.com/regal-rahul/Sketchy-Pad">
<i class="fa fa-github"></i> Regal Rahul</a
>
</div>
</div>
</body>
<script src="./app.js"></script>
</html>