-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
91 lines (84 loc) · 3.93 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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
<!DOCTYPE html>
<html lang="en">
<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>Background Generator</title>
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.0.13/css/all.css" integrity="sha384-DNOHZ68U8hZfKXOrtjWvjxusGo9WQnrNx2sqG0tfsghAvtVlRW3tvkXWZh58N9jp"
crossorigin="anonymous">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css" integrity="sha384-MCw98/SFnGE8fJT3GXwEOngsV7Zt27NXFoaoApmYm81iuXoPkFOJwJ8ERdknLPMO"
crossorigin="anonymous">
<link rel="stylesheet" type="text/css" href="style/style.css">
</head>
<body id="gradient">
<nav class="navbar sticky-top navbar-expand-md navbar-dark bg-dark">
<div class="container">
<a class="navbar-brand" href="https://jatb01.github.io/Demo-Website/">
Demo Website
</a>
<button class="navbar-toggler" data-toggle="collapse" data-target="#navbarNav">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarNav">
<ul class="navbar-nav ml-auto">
<li class="nav-item">
<a class="nav-link" href="https://jatb01.github.io/Demo-Website/">Home</a>
</li>
<li class="nav-item">
<a class="nav-link" href="https://github.com/JatB01/Background-Generator" target="_blank">GitHub
<i class="fab fa-github"></i>
</a>
</li>
</ul>
</div>
</div>
</nav>
<div class="container">
<div class="justify-content-center text-center py-4 mt-5">
<h1 class="display-4 d-block font-weight-bold">BACKGROUND GENERATOR</h1>
</div>
<p class="lead">
<strong>Choose your colors and receive your codes... or hit random for inspiration!</strong>
</p>
<div class="row justify-content-center">
1:
<input class="mr-4" id="color1" type="color" name="color1" value="#49DC8E"> 2:
<input class="mb-5" id="color2" type="color" name="color2" value="#B27BF7">
</div>
<div>
<button class="btn btn-outline-dark btn-sm" id="btn">
<i class="fas fa-random mr-2"></i>Random</button>
</div>
<table class="table mt-5">
<thead class="thead-dark">
<tr>
<th scope="col"></th>
<th scope="col">Hex</th>
<th scope="col">RGB</th>
</tr>
</thead>
<tbody>
<tr id="r1">
<th scope="row">Color 1</th>
<td id="c1h">#49DC8E</td>
<td id="c1rgb">rgb(73,220,142)</td>
</tr>
<tr id="r2">
<th scope="row">Color 2</th>
<td id="c2h">#B27BF7</td>
<td id="c2rgb">rgb(178,123,247)</td>
</tr>
</tbody>
</table>
</div>
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js " integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo "
crossorigin="anonymous "></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.3/umd/popper.min.js " integrity="sha384-ZMP7rVo3mIykV+2+9J3UJ46jBk0WLaUAdn689aCwoqbBJiSnjAK/l8WvCWPIPm49 "
crossorigin="anonymous "></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/js/bootstrap.min.js " integrity="sha384-ChfqqxuZUCnJSK3+MXmPNIyE6ZbWh2IMqE241rYiqJxyMiZ6OW/JmZQ5stwEULTy "
crossorigin="anonymous "></script>
<script type="text/javascript " src="script.js ">
</script>
</body>
</html>