-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
74 lines (64 loc) · 1.82 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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
<!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>Document</title>
<style>
*{
margin: 0%;
padding: 0%;
font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}
h4{
background-color: black;
color: white;
font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
text-align: center;
}
div{
margin-top: 14px;
margin-left: 10px;
}
button{
background-color: rgb(209, 255, 255);
color: rgb(129, 13, 237);
border: 1px solid blueviolet;
padding: 2px;
border-radius: 4px;
cursor: pointer;
}
button:hover{
background-color: rgb(116, 252, 252);
}
select{
background-color: rgb(209, 255, 255);
color: blueviolet;
border: 1px solid blueviolet;
padding: 2px;
border-radius: 4px;
cursor: pointer;
}
option{
cursor: pointer;
}
</style>
</head>
<body>
<h4 >Choose Your lucky Color</h4>
<div>
<select name="" id="Choice">
<option value="Defalt">Your Color</option>
<option value="Green">Green Color</option>
<option value="Red">Red Color</option>
<option value="Gray">Gray Color</option>
<option value="Blue">Blue Color</option>
<option value="Yellow">Yellow Color</option>
<option value="Pink">Pink Color</option>
</select>
<button onclick="changeBg ()" >Get Your Color</button>
</div>
</body>
<script src="index.js"></script>
</html>