Skip to content

Commit

Permalink
add disable animation option
Browse files Browse the repository at this point in the history
  • Loading branch information
gwstaten committed Aug 4, 2023
1 parent fc2de6b commit c2afbac
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 5 deletions.
1 change: 1 addition & 0 deletions css/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ header {
display: flex;
justify-content: center;
}

.settingDisplay {
color: gainsboro;
font-size: 10px;
Expand Down
10 changes: 6 additions & 4 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -46,12 +46,14 @@ <h1 class="title" id="title">wordle</h1>
<input type="checkbox" id="BlindCheck">
<p class="settingDisplay"> --- Accept any guess: </p>
<input type="checkbox" id="AnyGuessCheck">
<p class="settingDisplay">Disable animation: </p>
<input type="checkbox" id="DACheck">
</div>
<div class="slidecontainer">
<p class="settingDisplay">Animation length per letter: </p>
<p id = "animationLength" class="settingDisplay">20</p>
<p class="settingDisplay">ms</p>
<input type="range" min="0" max="500" value="20" class="slider" id="animationSlider">
<p class="settingDisplay">Animation time: </p>
<p id = "animationLength" class="settingDisplay">20</p>
<p class="settingDisplay">ms</p>
<input type="range" min="0" max="500" value="20" class="slider" id="animationSlider">
</div>
<div class="slidecontainer">
<p class="settingDisplay" id="alert"> </p>
Expand Down
5 changes: 4 additions & 1 deletion js/main.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit c2afbac

Please sign in to comment.