-
Notifications
You must be signed in to change notification settings - Fork 0
/
rgb.html
30 lines (30 loc) · 970 Bytes
/
rgb.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 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">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.2/css/all.min.css"/>
<link rel="stylesheet" href="style.css">
<title>Color Fliper</title>
</head>
<body>
<nav>
<div class="nav-center">
<h4>color flipper</h4>
<ul class="nav-links">
<li><a href="vanilla.html">simple</a></li>
<li><a href="index.html">hex</a></li>
<li><a href="rgb.html">rgb</a></li>
</ul>
</div>
</nav>
<main>
<div class="container">
<h2>background color : <span class="color"></span></h2>
<button class="btn btn-hero" id="btn">Change Color </button>
</div>
</main>
<script src="rgb.js"></script>
</body>
</html>