-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
30 lines (27 loc) · 1.02 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
<!DOCTYPE html>
<html>
<head>
<meta charset ="UTF-8">
<meta name = "viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-compatible" content="ie=edge">
<title> color change </title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<div class="dropdown">
<button class="dropbtn">Select colors</button>
<div class="dropdown-content">
<div class = "color-wrapper">
<div class = "select-color" id="frist"></div>
<div class = "select-color" id="second"></div>
<div class = "select-color" id="third"></div>
<div class = "select-color" id="fourth"></div>
</div>
</div>
</div>
<div class="button-wrapper">
<button type="button" class="color-button">Press here to change color</button>
</div>
<script src="script.js"></script>
</body>
</html>