word-games-theme 0.6.9 → 0.7.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_includes/wordle-solver/wordle-solver.html +1 -3
- data/_layouts/wordleSolver.html +3 -2
- data/assets/css/wordleSolver.css +9 -2
- data/assets/js/wordleSolver.js +2 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9bf0cc678b2d4ab81a93e42b51fae24bb9be5706ef1b5ecc12c939a729be5d83
|
4
|
+
data.tar.gz: d53df670febdda98fbac4ff4b72fb74ddb0fcf9fa8fa3cabe72bf18fb97a1b64
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 59af1612449e4944826f7b8dd75aaa0f030d025c1c18752fb822c8a75674b8491b47f3e6e97c39febf53ca73a433d55cb62cb0a8e2ea22e7858c7e6d78f54b84
|
7
|
+
data.tar.gz: 0b6904d18ad72178388a6c2b20fd4be248362bdc385b7f5b4e122ee26d0a77796b1645d75d41cf11fc96c5f4eae8648690debe4ab5cb937b9437515876eabdd5
|
@@ -2,7 +2,7 @@
|
|
2
2
|
<div class="row">
|
3
3
|
<div class="col-md-10 mx-auto ws">
|
4
4
|
<div style="font-size: 15px;" class="alert errMessage" role="alert"></div>
|
5
|
-
<form name="verify">
|
5
|
+
<form name="verify" class="forms_data">
|
6
6
|
<div class="form-group">
|
7
7
|
|
8
8
|
<label for="greenLetters" class="my-1 p-0 wordleSolver-label">Enter green letters at correct
|
@@ -100,8 +100,6 @@
|
|
100
100
|
</div>
|
101
101
|
|
102
102
|
|
103
|
-
|
104
|
-
|
105
103
|
<script src="https://code.jquery.com/jquery-3.6.0.min.js"
|
106
104
|
integrity="sha256-/xUj+3OJU5yExlq6GSYGSHk7tPXikynS7ogEvDej/m4=" crossorigin="anonymous"></script>
|
107
105
|
<script>
|
data/_layouts/wordleSolver.html
CHANGED
@@ -9,6 +9,7 @@
|
|
9
9
|
{%- include head/index.html -%}
|
10
10
|
|
11
11
|
<body>
|
12
|
+
<link rel="stylesheet" href="{{ '../assets/css/wordleSolver.css' | relative_url }}">
|
12
13
|
{%- include header/index.html -%}
|
13
14
|
|
14
15
|
|
@@ -23,7 +24,7 @@
|
|
23
24
|
</div>
|
24
25
|
{%- endif -%}
|
25
26
|
|
26
|
-
<div class="wordleSolver-feature
|
27
|
+
<div class="wordleSolver-feature">
|
27
28
|
{{content}}
|
28
29
|
</div>
|
29
30
|
|
@@ -39,7 +40,7 @@
|
|
39
40
|
{%- include footer/index.html -%}
|
40
41
|
<link rel="stylesheet"
|
41
42
|
href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-icons/1.5.0/font/bootstrap-icons.min.css" />
|
42
|
-
|
43
|
+
|
43
44
|
<script defer src="../assets/js/wordleSolver.js"></script>
|
44
45
|
<script defer src="https://cdn.jsdelivr.net/npm/bootstrap@4.5.3/dist/js/bootstrap.min.js"></script>
|
45
46
|
{% include Monumetric/Monumetric.html %}
|
data/assets/css/wordleSolver.css
CHANGED
@@ -3,8 +3,15 @@
|
|
3
3
|
flex-direction: column;
|
4
4
|
justify-content: center;
|
5
5
|
align-items: center;
|
6
|
-
background: rgba(0, 0, 0, 0.1);
|
7
|
-
padding: 15px 0px !important;
|
6
|
+
/* background: rgba(0, 0, 0, 0.1); */
|
7
|
+
/* padding: 15px 0px !important; */
|
8
|
+
}
|
9
|
+
.errMessage {
|
10
|
+
display: none;
|
11
|
+
}
|
12
|
+
.forms_data {
|
13
|
+
border: 1px solid rgba(0, 0, 0, 0.1);
|
14
|
+
padding: 25px;
|
8
15
|
}
|
9
16
|
.wordleSolver_headings {
|
10
17
|
margin-top: 110px;
|
data/assets/js/wordleSolver.js
CHANGED
@@ -186,10 +186,12 @@ function handleSubmit(e) {
|
|
186
186
|
) {
|
187
187
|
errMessage.innerHTML = ''
|
188
188
|
errMessage.classList.remove('alert-danger')
|
189
|
+
errMessage.style.display = 'none'
|
189
190
|
wordleSolver(greenLetter, yellowLetters, greyLetters, greenWithIndex)
|
190
191
|
} else {
|
191
192
|
errMessage.innerHTML = 'You must enter at least 1 green letter'
|
192
193
|
errMessage.classList.add('alert-danger')
|
194
|
+
errMessage.style.display = 'block'
|
193
195
|
}
|
194
196
|
}
|
195
197
|
form.addEventListener('submit', handleSubmit)
|