forked from DavidJentes/websitedesign2024
Fixed pricing and a glitch
parent
a31084789d
commit
3bc31538a3
|
@ -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")
|
||||
}
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue