quicly made the wordle thing word
This commit is contained in:
parent
44341788e4
commit
6d9bab425c
2 changed files with 3 additions and 25 deletions
|
@ -12,23 +12,7 @@
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<div id="nav">
|
<div id="nav">
|
||||||
<a href="#/" aria-label="Back to main menu"
|
<div></div>
|
||||||
><button aria-label="Back to main menu"
|
|
||||||
><span class="front"
|
|
||||||
><svg
|
|
||||||
xmlns="http://www.w3.org/2000/svg"
|
|
||||||
height="24px"
|
|
||||||
viewBox="0 -960 960 960"
|
|
||||||
width="24px"
|
|
||||||
fill="#FFFFFF"
|
|
||||||
><path
|
|
||||||
d="M240-200h120v-240h240v240h120v-360L480-740 240-560v360Zm-80 80v-480l320-240 320 240v480H520v-240h-80v240H160Zm320-350Z"
|
|
||||||
/></svg
|
|
||||||
> GO BACK
|
|
||||||
</span></button
|
|
||||||
></a
|
|
||||||
>
|
|
||||||
<h1>Wordle</h1>
|
|
||||||
<div>
|
<div>
|
||||||
<button
|
<button
|
||||||
aria-label="Back to main menu"
|
aria-label="Back to main menu"
|
|
@ -7,20 +7,14 @@
|
||||||
|
|
||||||
<div id="root">
|
<div id="root">
|
||||||
<h4>Select The Word legnth (between 3 and 10 letters)</h4>
|
<h4>Select The Word legnth (between 3 and 10 letters)</h4>
|
||||||
<input
|
<input type="range" id="vol" name="vol" min="3" max="10" bind:value={LetersSelected} />
|
||||||
type="range"
|
|
||||||
id="vol"
|
|
||||||
name="vol"
|
|
||||||
min="3"
|
|
||||||
max="10"
|
|
||||||
bind:value={LetersSelected}
|
|
||||||
/>
|
|
||||||
<button
|
<button
|
||||||
onclick={() => {
|
onclick={() => {
|
||||||
WordLegnth.v = LetersSelected;
|
WordLegnth.v = LetersSelected;
|
||||||
newGame();
|
newGame();
|
||||||
TabOpen.v = "none";
|
TabOpen.v = "none";
|
||||||
}}
|
}}
|
||||||
|
class="btn"
|
||||||
>Start New Game with Word legnth of {LetersSelected} letters
|
>Start New Game with Word legnth of {LetersSelected} letters
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue