-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathadd.html
45 lines (41 loc) · 1.5 KB
/
add.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
<!DOCTYPE html>
<html>
<head>
<title>#agumballofkindness</title>
<meta charset="UTF-8">
<link rel="stylesheet" href="styles.css">
</head>
<body>
<header>
<nav>
<h1>#agumballofkindness</h1>
<ul>
<li><a href="index.html">Home</a></li>
<li><a href="add.html"><b>Add</b></a></li>
</ul>
</nav>
</header>
<div class="container">
<form id="add-gumball-form">
<div class="gumball" id="gumball">
<input id="message" type="text" name="message" placeholder="A kind message..." required>
</div>
<div>Choose a colour!</div>
<div class="color-picker">
<input type="color" id="color-input" value="#ff6f61">
<div class="set-red" id="set-red"></div>
<div class="set-orange" id="set-orange"></div>
<div class="set-yellow" id="set-yellow"></div>
<div class="set-green" id="set-green"></div>
<div class="set-blue" id="set-blue"></div>
<label for="color-input" class="center">
<div>Custom: </div><div class="custom-picker" id="custom-picker"></div>
</label>
</div>
<button type="submit" id="add-button">Add Gumball</button>
</form>
<div>Done adding? Go <a href="index.html">back</a> and get a gumball!</div>
<script src="add.js"></script>
</div>
</body>
</html>