add: go back button in rankings
All checks were successful
Deploy on push / deploy (push) Has been skipped

This commit is contained in:
2026-03-23 03:05:44 -07:00
parent dc1dce1120
commit ac52daa454
6 changed files with 426 additions and 50 deletions

View File

@@ -46,13 +46,14 @@
</div>
<div class="voting-panel__actions">
<button class="button small" id="skip-pair" type="button">skip pair</button>
<button class="button small" id="undo-vote" type="button">go back</button>
<button class="button small" id="reset-rankings" type="button">reset saved rankings</button>
</div>
<p class="vote-message" id="vote-message" aria-live="polite">Enable JavaScript to load head-to-head voting.</p>
<div class="duel-grid" id="duel-cards">
<p class="duel-placeholder">Enable JavaScript to compare meals here.</p>
</div>
<p class="vote-hint">Tip: use the left and right arrow keys to vote faster.</p>
<p class="vote-hint">Tip: use the left and right arrow keys to vote faster, or press Z to go back.</p>
</div>
</section>