-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
35 lines (33 loc) · 1.31 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
<!DOCTYPE html>
<html lang="en">
<head>
<title>HTML default colors</title>
<meta name="author" content="Jyri Konttinen">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<link rel="stylesheet" type="text/css" href="styles.css" media="screen"/>
</head>
<body>
<div class="toaster"></div>
<div class="header">
<h1>HTML colors</h1>
<div class="controls">
<form>
<label for="search">Search</label>
<input type="text" id="search" name="search" placeholder="Enter color name" autocomplete="off">
</form>
<form>
<label>Sorting</label>
<div>
<button type="button" id="sortAlphabetical" class="segmentedButton selected">Alphabetical</button>
<button type="button" id="sortLuminance" class="segmentedButton">Luminance</button>
<button type="button" id="sortReverse"><i class="material-icons">arrow_downward</i></button>
</div>
</form>
</div>
</div>
<div class="container" id="htmlColors"></div>
</body>
<script src="color-name-to-hex.js"></script>
<script src="scripts.js"></script>
</html>