forked from DavidJentes/websitedesign2024
Compare commits
No commits in common. "9578362327df1bc589d8662995706cdfda7e9a77" and "01ccff4b562f01bd27f5cd8a1484f035ed3539b7" have entirely different histories.
9578362327
...
01ccff4b56
|
@ -148,7 +148,7 @@ hoticed.addEventListener("change", () => {
|
|||
if (hoticed.value == "hot") {
|
||||
hotDiv.classList.remove("hidden")
|
||||
icedDiv.classList.add("hidden")
|
||||
} else if (hoticed.value == "cold") {
|
||||
} else if (hoticed.value == "iced") {
|
||||
hotDiv.classList.add("hidden")
|
||||
icedDiv.classList.remove("hidden")
|
||||
}
|
||||
|
|
|
@ -43,7 +43,7 @@
|
|||
</section>
|
||||
<section id="step2" class="hidden">
|
||||
<h2>Your drink</h2>
|
||||
<h2>$3.00 - 16oz</h2>
|
||||
<h2>$2.50 - 16oz</h2>
|
||||
<select id="hoticed" name="hotcold">
|
||||
<option value="hot">Hot drinks</option>
|
||||
<option value="cold">Iced drinks</option>
|
||||
|
|
Loading…
Reference in New Issue