Fixed pricing and a glitch

main
dugo3number2 2024-08-20 16:11:35 -05:00
parent a31084789d
commit 3bc31538a3
2 changed files with 2 additions and 2 deletions

View File

@ -148,7 +148,7 @@ hoticed.addEventListener("change", () => {
if (hoticed.value == "hot") {
hotDiv.classList.remove("hidden")
icedDiv.classList.add("hidden")
} else if (hoticed.value == "iced") {
} else if (hoticed.value == "cold") {
hotDiv.classList.add("hidden")
icedDiv.classList.remove("hidden")
}

View File

@ -43,7 +43,7 @@
</section>
<section id="step2" class="hidden">
<h2>Your drink</h2>
<h2>$2.50 - 16oz</h2>
<h2>$3.00 - 16oz</h2>
<select id="hoticed" name="hotcold">
<option value="hot">Hot drinks</option>
<option value="cold">Iced drinks</option>