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>
|
||||
|
||||
<div id="nav">
|
||||
<a href="#/" aria-label="Back to main menu"
|
||||
><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>
|
||||
<div>
|
||||
<button
|
||||
aria-label="Back to main menu"
|
|
@ -7,20 +7,14 @@
|
|||
|
||||
<div id="root">
|
||||
<h4>Select The Word legnth (between 3 and 10 letters)</h4>
|
||||
<input
|
||||
type="range"
|
||||
id="vol"
|
||||
name="vol"
|
||||
min="3"
|
||||
max="10"
|
||||
bind:value={LetersSelected}
|
||||
/>
|
||||
<input type="range" id="vol" name="vol" min="3" max="10" bind:value={LetersSelected} />
|
||||
<button
|
||||
onclick={() => {
|
||||
WordLegnth.v = LetersSelected;
|
||||
newGame();
|
||||
TabOpen.v = "none";
|
||||
}}
|
||||
class="btn"
|
||||
>Start New Game with Word legnth of {LetersSelected} letters
|
||||
</button>
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue