-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
33 lines (27 loc) · 1.06 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
<!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">
<title>DrawingBoard</title>
<link rel="stylesheet" href="styles.css"/>
</head>
<body>
<h1>Drawing Board 🖌</h1>
<div class="colorSelector">
<label for="color_picker">Select Color👇</label>
<input type="color" id="color_picker" oninput="getColor()">
</div>
<div class="buttons">
<button id="size" onclick="changeGridSize()">SIZE</button>
<button id=clearboard onclick="changeColor('white')">ERASER</button>
<button id="yellow" onclick="changeColor('yellow')">YELLOW</button>
<button id="red" onclick="changeColor('red')">RED</button>
<button id="blue" onclick="changeColor('blue')">BLUE</button>
<button id="green" onclick="changeColor('green')">GREEN</button>
</div>
<div class="container" id="container"></div>
<script src="drawingboard.js"></script>
</body>
</html>