-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
212 lines (192 loc) · 9.12 KB
/
index.html
File metadata and controls
212 lines (192 loc) · 9.12 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
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
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="styles/styles.css" rel="stylesheet" type="text/css">
<link href="styles/boardstyles.css" rel="stylesheet" type="text/css">
<link href="styles/keyboardstyles.css" rel="stylesheet" type="text/css">
<link rel="stylesheet" href="styles/modalstyle.css" type="text/css">
<script src="scripts/dictionary.js"></script>
<script src="scripts/constants_and_variables.js"></script>
<script defer src="scripts/privatescript.js"></script>
<script defer src="scripts/publicscript.js"></script>
<title>Wordle</title>
<meta property="og:url" content="https://www.facebook.com/CJunk351" />
<meta property="og:type" content="website" />
<meta property="og:title" content="Your Website Title" />
<meta property="og:description" content="Your description" />
<meta property="og:image" content="https://www.your-domain.com/path/image.jpg" />
</head>
<body>
<div id="fb-root">
<script async defer crossorigin="anonymous"
src="https://connect.facebook.net/en_US/sdk.js#xfbml=1&version=v13.0" nonce="sFRcbjBt"></script>
</div>
<section id="firstPopUp" class="firstPopupVisibile">
<div id="outerBox">
<div class="popUpheading">
<p>Wordle options</p>
<form action="login.html" id="theForm">
<fieldset>
<legend>Number of Guesses</legend>
<select name='Racketselection' id="select">
<option>5</option>
<option>6</option>
<option>7</option>
<option>8</option>
</select>
</fieldset>
</form>
</div>
<img id="instructionsPic" src="images/instructions.png" alt="">
<div class="popupInstructions">
<button onclick="playGame()" id="playBut"> Play Me </button>
</div>
</section>
<section id="mainPagewrapper" class="mainPageInvisible">
<section id="mainPage">
<section id="pageheader">
<img src="images/wordle_banner.png" alt="no banner" id="bannerimg">
</section>
<section id="sidePanel">
<div class="alphaBet" onclick="clickedLetter(this)">
<p class="letterchoices">A</p>
</div>
<div class="alphaBet" onclick="clickedLetter(this)">
<p class="letterchoices">B</p>
</div>
<div class="alphaBet" onclick="clickedLetter(this)">
<p class="letterchoices">C</p>
</div>
<div class="alphaBet" onclick="clickedLetter(this)">
<p class="letterchoices">D</p>
</div>
<div class="alphaBet" onclick="clickedLetter(this)">
<p class="letterchoices">E</p>
</div>
<div class="alphaBet" onclick="clickedLetter(this)">
<p class="letterchoices">F</p>
</div>
<div class="alphaBet" onclick="clickedLetter(this)">
<p class="letterchoices">G</p>
</div>
<div class="alphaBet" onclick="clickedLetter(this)">
<p class="letterchoices">H</p>
</div>
<div class="alphaBet" onclick="clickedLetter(this)">
<p class="letterchoices">I</p>
</div>
<div class="alphaBet" onclick="clickedLetter(this)">
<p class="letterchoices">J</p>
</div>
<div class="alphaBet" onclick="clickedLetter(this)">
<p class="letterchoices">K</p>
</div>
<div class="alphaBet" onclick="clickedLetter(this)">
<p class="letterchoices">L</p>
</div>
<div class="alphaBet" onclick="clickedLetter(this)">
<p class="letterchoices">M</p>
</div>
<div class="alphaBet" onclick="clickedLetter(this)">
<p class="letterchoices">N</p>
</div>
<div class="alphaBet" onclick="clickedLetter(this)">
<p class="letterchoices">O</p>
</div>
<div class="alphaBet" onclick="clickedLetter(this)">
<p class="letterchoices">P</p>
</div>
<div class="alphaBet" onclick="clickedLetter(this)">
<p class="letterchoices">Q</p>
</div>
<div class="alphaBet" onclick="clickedLetter(this)">
<p class="letterchoices">R</p>
</div>
<div class="alphaBet" onclick="clickedLetter(this)">
<p class="letterchoices">S</p>
</div>
<div class="alphaBet" onclick="clickedLetter(this)">
<p class="letterchoices">T</p>
</div>
<div class="alphaBet" onclick="clickedLetter(this)">
<p class="letterchoices">U</p>
</div>
<div class="alphaBet" onclick="clickedLetter(this)">
<p class="letterchoices">V</p>
</div>
<div class="alphaBet" onclick="clickedLetter(this)">
<p class="letterchoices">W</p>
</div>
<div class="alphaBet" onclick="clickedLetter(this)">
<p class="letterchoices">X</p>
</div>
<div class="alphaBet" onclick="clickedLetter(this)">
<p class="letterchoices">Y</p>
</div>
<div id="enterButtonWrapper">
<button id="enterButton" onclick="enterBut()">Enter</button>
</div>
<div id="backspaceButtonWrapper">
<button id="backspaceButton" onclick="backspaceBut()">Del</button>
</div>
<div class="alphaBet" onclick="clickedLetter(this)">
<p class="letterchoices">Z</p>
</div>
</section>
<section id="row"></section>
<section class="rightSidePanel">
<section id="rightSideScoring">
<div id="facebookShareIcon">
<iframe
src="https://www.facebook.com/plugins/share_button.php?href=https%3A%2F%2Fwww.facebook.com%2FCJunk351&layout=button&size=large&width=77&height=28&appId"
width="77" height="28" style="border:none;overflow:hidden" allowFullScreen="true"
allow="autoplay; clipboard-write; encrypted-media; picture-in-picture; web-share"></iframe>
</div>
<section id="statistics">
<p>Games won</p><p id="totalGamesWonThisSession">0</p>
<p>Streak</p><p id="winningStreak">0</p>
<p>Highest streak </p><p>0</p>
<button id="resetstatsBut" onclick="resetStats()">reset stats</button>
</section>
</section>
<section id="bitcoinSection">
<!-- <img src="images/bitcoin-logo-font.jpg" alt="" id="bitcoinLogo"> -->
<img src="images/Cappuccino_at_Sightglass_Coffee.jpg" alt="" class="bitcoinImg">
<p><a href="https://www.buymeacoffee.com/jerichosharman" target="_blank">Buy me a coffee</a></p>
</section>
<a href="1-tuesday/index.html" id="wordleHelperButton" target="_blank">Helper</a>
</section>
<section id="notValidWord" class="notValidWordInvisible">
<p>Not a valid word</p>
</section>
<input type="text" id="userInputBox" maxlength="5" class="userInputBox" autofocus>
</section>
</section>
<!-- The Modal -->
<div id="myModal" class="modal">
<!-- Modal content -->
<div id="modalBox" class="modal-content">
<span id="incorrectClose" class="close">×</span>
<p id="invalidWordText">Not in word list.</p>
</div>
</div>
<div id="myModal2" class="modal2">
<!-- Winning guest popup -->
<div id="correctGuessModalBox" class="correctGuess_modal-content">
<span id="correctClose" class="close">×</span>
<p id="correctGuessText" class="correctGuessStyle">Correct !!!! </p>
</div>
</div>
<div id="myModal3" class="modal3">
<!-- Winning guest popup -->
<div id="incorrectGuessModalBox" class="correctGuess_modal-content">
<span id="noMorGuesesClose" class="close">×</span>
<p id="noMoreGuessText" class="correctGuessStyle">Out of Guesses <br> The correct word was : </p>
</div>
</div>
</div>
</body>
</html>