-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
74 lines (63 loc) · 3.12 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 name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="style.css">
<link rel="shortcut icon" href="color generater Favicon.svg" type="image/x-icon">
<script src="https://kit.fontawesome.com/05c7dabbb9.js" crossorigin="anonymous"></script>
<script src="script.js" defer></script> <!-- Added script.js -->
<title>Random Color Generator</title>
</head>
<body class="mobile-desktop">
<div class="title">Random Color Generator.</div>
<div class="subheading">Press Button to generate a new color palette.</div>
<!-- New section for vertical lines -->
<!-- New section for vertical lines -->
<div class="color-lines">
<div class="line" style="background-color: #ff5733;">
<!-- Square for copy icon -->
<div class="icon-square copy-square"></div>
<i class="fa-solid fa-eye-dropper copy-icon" onclick="copyColorCode(this)"></i>
<!-- Square for lock icon -->
<div class="icon-square lock-square"></div>
<i class="fa-solid fa-lock additional-icon" onclick="toggleLock(0, this)"></i>
</div>
<div class="line" style="background-color: #ff5733;">
<div class="icon-square copy-square"></div>
<i class="fa-solid fa-eye-dropper copy-icon" onclick="copyColorCode(this)"></i>
<div class="icon-square lock-square"></div>
<i class="fa-solid fa-lock additional-icon" onclick="toggleLock(1, this)"></i>
</div>
<!-- Repeat for other lines -->
<div class="line" style="background-color: #ff5733;">
<div class="icon-square copy-square"></div>
<i class="fa-solid fa-eye-dropper copy-icon" onclick="copyColorCode(this)"></i>
<div class="icon-square lock-square"></div>
<i class="fa-solid fa-lock additional-icon" onclick="toggleLock(4, this)"></i>
</div>
<div class="line" style="background-color: #ff5733;">
<div class="icon-square copy-square"></div>
<i class="fa-solid fa-eye-dropper copy-icon" onclick="copyColorCode(this)"></i>
<div class="icon-square lock-square"></div>
<i class="fa-solid fa-lock additional-icon" onclick="toggleLock(5, this)"></i>
</div>
<div class="line" style="background-color: #ff5733;">
<div class="icon-square copy-square"></div>
<i class="fa-solid fa-eye-dropper copy-icon" onclick="copyColorCode(this)"></i>
<div class="icon-square lock-square"></div>
<i class="fa-solid fa-lock additional-icon" onclick="toggleLock(4, this)"></i>
</div>
<div class="line" style="background-color: #ff5733;">
<div class="icon-square copy-square"></div>
<i class="fa-solid fa-eye-dropper copy-icon" onclick="copyColorCode(this)"></i>
<div class="icon-square lock-square"></div>
<i class="fa-solid fa-lock additional-icon" onclick="toggleLock(5, this)"></i>
</div>
</div>
<!-- Button at the bottom center -->
<div class="generate-button">
<button class="generate-btn"><i class="fa-solid fa-arrow-rotate-right"></i> Generate Colors</button>
</div>
</body>
</html>