-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
90 lines (90 loc) · 4.34 KB
/
index.html
File metadata and controls
90 lines (90 loc) · 4.34 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="icon" type="image/png" href="assets/images/favicon.png">
<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=Roboto:wght@400;500;700&display=swap" rel="stylesheet">
<link rel="stylesheet" href="wordle.css">
<title>Wordle - The New York Times</title>
</head>
<body>
<div class="container light-theme">
<div class="header">
<div>
<svg width="24" height="17" viewBox="0 0 24 17" fill="none" xmlns="http://www.w3.org/2000/svg">
<rect x="0.172974" width="20" height="3" rx="1.5"></rect>
<rect x="0.172974" y="7" width="20" height="3" rx="1.5"></rect>
<rect x="0.172974" y="14" width="20" height="3" rx="1.5"></rect>
</svg>
<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 0 24 24" width="24">
<path d="M11 18h2v-2h-2v2zm1-16C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8zm0-14c-2.21 0-4 1.79-4 4h2c0-1.1.9-2 2-2s2 .9 2 2c0 2-3 1.75-3 5h2c0-2.25 3-2.5 3-5 0-2.21-1.79-4-4-4z"></path>
</svg>
</div>
<h4>Wordle</h4>
<div class="theme">
<h5>Dark Theme</h5>
<div class="theme-switch">
<span class="knob"></span>
</div>
</div>
</div>
<div id="message"></div>
<div class="grid"></div>
<div class="keyboard"></div>
<div class="splash-screen">
<div class="instructions">
<p>Guess the <strong>WORDLE</strong> in six tries.</p>
<p>Each guess must be a valid five-letter word. Hit the enter button to submit.</p>
<p>After each guess, the color of the tiles will change to show how close your guess was to the word.</p>
<div class="close-icon">
<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 0 24 24" width="24">
<path d="M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"></path>
</svg>
</div>
<div class="examples">
<p>
<strong>Examples</strong>
<div class="example">
<div class="example-row">
<div class="example-correct">W</div>
<div>E</div>
<div>A</div>
<div>R</div>
<div>Y</div>
</div>
<p>The letter <strong>W</strong> is in the word and in the correct spot.</p>
</div>
<div class="example">
<div class="example-row">
<div>P</div>
<div class="example-present">I</div>
<div>L</div>
<div>L</div>
<div>S</div>
</div>
<p>The letter <strong>I</strong> is in the word but in the wrong spot.</p>
</div>
<div class="example">
<div class="example-row">
<div>V</div>
<div>A</div>
<div>G</div>
<div class="example-absent">U</div>
<div>E</div>
</div>
<p>The letter <strong>U</strong> is not in the word in any spot.</p>
</div>
</p>
</div>
<p>
<strong>A new WORDLE will be available each day!</strong>
</p>
</div>
</div>
</div>
<script src="script.js"></script>
</body>
</html>