-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
123 lines (119 loc) · 5.17 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
<!DOCTYPE html>
<html lang="en">
<head>
<link rel="stylesheet" href="./css/stylesheet.css" />
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js"></script>
<meta charset="UTF-8">
<title>Wordle</title>
</head>
<body>
<main>
<section class="wordle">
<div class="container">
<div class="pop-up">
<div class="pop-up--status">You win! Congratulations!</div>
<div class="pop-up--wordle"><span></span><strong></strong></div>
<div class="pop-up--button"><a class="btn" href="https://guy-argaman.github.io/wordle/">Restart
Game</a></div>
<div class="pop-up--copy-result">
<ul>
</ul>
</div>
<button class="pop-up--button copy-link">Copy to Clipboard</button>
</div>
<div class="difficulty">
<h1 class="type">
<span>Welcome</span>
<span>To</span>
<span>Wordle</span>
</h1>
<h2>Choose Your Difficulty</h2>
<ul>
<li><a href="#">THREE LETTER WORDS</a></li>
<li><a href="#">FOUR LETTER WORDS</a></li>
<li><a href="#">FIVE LETTER WORDS</a></li>
</ul>
</div>
<div class="board">
<div class="incorrect-pop-up">
<div class="incorrect-pop-up--message"></div>
</div>
<ul class="board-row-1 row current">
</ul>
<ul class="board-row-2 row">
</ul>
<ul class="board-row-3 row">
</ul>
<ul class="board-row-4 row">
</ul>
<ul class="board-row-5 row">
</ul>
<ul class="board-row-6 row">
</ul>
</div>
<div class="keyboard">
<ul class="letters-row top">
<li id="Q"><a href="#">Q</a></li>
<li id="W"><a href="#">W</a></li>
<li id="E"><a href="#">E</a></li>
<li id="R"><a href="#">R</a></li>
<li id="T"><a href="#">T</a></li>
<li id="Y"><a href="#">Y</a></li>
<li id="U"><a href="#">U</a></li>
<li id="I"><a href="#">I</a></li>
<li id="O"><a href="#">O</a></li>
<li id="P"><a href="#">P</a></li>
</ul>
<ul class="letters-row middle">
<li id="A"><a href="#">A</a></li>
<li id="S"><a href="#">S</a></li>
<li id="D"><a href="#">D</a></li>
<li id="F"><a href="#">F</a></li>
<li id="G"><a href="#">G</a></li>
<li id="H"><a href="#">H</a></li>
<li id="J"><a href="#">J</a></li>
<li id="K"><a href="#">K</a></li>
<li id="L"><a href="#">L</a></li>
</ul>
<ul class="letters-row bottom">
<li class="erase"><img src="./icons/backspace.svg"></li>
<li id="Z"><a href="#">Z</a></li>
<li id="X"><a href="#">X</a></li>
<li id="C"><a href="#">C</a></li>
<li id="V"><a href="#">V</a></li>
<li id="B"><a href="#">B</a></li>
<li id="N"><a href="#">N</a></li>
<li id="M"><a href="#">M</a></li>
<li class="submit"><img src="./icons/enter.svg"></li>
</ul>
</div>
</div>
</section>
<section class="challenge">
<div class="container">
<h2>
Challenge Your Friends!
</h2>
<div class="inputs">
<label for="word">Enter A Word That Contains 3, 4, or 5 Letters</label>
<input type="text" name="s" id="word">
</div>
<div class="buttons-wrapper">
<button class="generate-link">
Generate Link
</button>
</div>
<div class="link-wrapper">
<p id="link" style="color: green; font-size: 24px; font-weight: bold;"><a></a></p>
<button class="copy-link">
Copy to Clipboard
</button>
</div>
</div>
</section>
<script src="https://cdn.jsdelivr.net/npm/js-confetti@latest/dist/js-confetti.browser.js"></script>
<script src="./js/words.js"></script>
<script src="./js/main.js"></script>
</main>
</body>
</html>