-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
25 lines (24 loc) · 999 Bytes
/
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=DM+Sans:opsz@9..40&display=swap" rel="stylesheet">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@5.2.3/dist/css/bootstrap.min.css">
<link rel="stylesheet" href="/style.css">
<title>Hex Colors</title>
</head>
<body>
<div class="container">
<div class="hex-colors">
<h1>Click the button below to display the hex code of a random color.</h1>
<h2>The HEX code of this color is <span id="hex-code">#00000</span></h2>
<button type="button" class="btn btn-primary"
id="button">Click Me</button>
</div>
</div>
<script src="/script.js"></script>
</body>
</html>