-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
134 lines (125 loc) · 3.96 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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Color Matching Game | Pure Javascript Application</title>
<!-- Primary Meta Tags -->
<title>Color Matching Game | Pure Javascript Application</title>
<meta name="title" content="Color Matching Game | Pure Javascript Application" />
<meta
name="description"
content="A good way to practice javascript by building this simple game."
/>
<!-- Open Graph / Facebook -->
<meta property="og:type" content="website" />
<meta property="og:url" content="https://color-matching-game.vercel.app/" />
<meta property="og:title" content="Color Matching Game | Pure Javascript Application" />
<meta
property="og:description"
content="A good way to practice javascript by building this simple game."
/>
<meta
property="og:image"
content="https://color-matching-game.vercel.app/images/thumbnail.png"
/>
<!-- Twitter -->
<meta property="twitter:card" content="summary_large_image" />
<meta property="twitter:url" content="https://color-matching-game.vercel.app/" />
<meta property="twitter:title" content="Color Matching Game | Pure Javascript Application" />
<meta
property="twitter:description"
content="A good way to practice javascript by building this simple game."
/>
<meta
property="twitter:image"
content="https://color-matching-game.vercel.app/images/thumbnail.png"
/>
<link rel="stylesheet" href="css/main.css" />
<link rel="stylesheet" href="css/game.css" />
<link
href="https://fonts.googleapis.com/css2?family=Josefin+Sans:ital,wght@0,400;0,700;1,400&display=swap"
rel="stylesheet"
/>
</head>
<body>
<section class="color-background">
<div class="game">
<h1 class="game__title">Color Matching</h1>
<p class="game__timer"></p>
<div class="game__button-wrapper">
<button class="game__button">Play Again</button>
</div>
<div class="game__board">
<ul id="colorList" class="color-list">
<li>
<div class="overlay"></div>
</li>
<li>
<div class="overlay"></div>
</li>
<li>
<div class="overlay"></div>
</li>
<li>
<div class="overlay"></div>
</li>
<li>
<div class="overlay"></div>
</li>
<li>
<div class="overlay"></div>
</li>
<li>
<div class="overlay"></div>
</li>
<li>
<div class="overlay"></div>
</li>
<li>
<div class="overlay"></div>
</li>
<li>
<div class="overlay"></div>
</li>
<li>
<div class="overlay"></div>
</li>
<li>
<div class="overlay"></div>
</li>
<li>
<div class="overlay"></div>
</li>
<li>
<div class="overlay"></div>
</li>
<li>
<div class="overlay"></div>
</li>
<li>
<div class="overlay"></div>
</li>
</ul>
</div>
</div>
<footer>
Created by
<a
href="https://github.com/Lereste/"
target="_blank"
rel="noreferrer noopener"
>Lereste</a
>
with ❤
</footer>
</section>
<!-- Random color -->
<script
src="https://cdnjs.cloudflare.com/ajax/libs/randomcolor/0.6.1/randomColor.min.js"
integrity="sha512-vPeZ7JCboHcfpqSx5ZD+/jpEhS4JpXxfz9orSvAPPj0EKUVShU2tgy7XkU+oujBJKnWmu4hU7r9MMQNWPfXsYw=="
crossorigin="anonymous"
></script>
<script type="module" src="./js/main.js"></script>
</body>
</html>