forked from DavidJentes/websitedesign2024
Compare commits
2 Commits
01ccff4b56
...
9578362327
Author | SHA1 | Date |
---|---|---|
dugo3number2 | 9578362327 | |
dugo3number2 | 3bc31538a3 |
|
@ -148,7 +148,7 @@ hoticed.addEventListener("change", () => {
|
||||||
if (hoticed.value == "hot") {
|
if (hoticed.value == "hot") {
|
||||||
hotDiv.classList.remove("hidden")
|
hotDiv.classList.remove("hidden")
|
||||||
icedDiv.classList.add("hidden")
|
icedDiv.classList.add("hidden")
|
||||||
} else if (hoticed.value == "iced") {
|
} else if (hoticed.value == "cold") {
|
||||||
hotDiv.classList.add("hidden")
|
hotDiv.classList.add("hidden")
|
||||||
icedDiv.classList.remove("hidden")
|
icedDiv.classList.remove("hidden")
|
||||||
}
|
}
|
||||||
|
|
|
@ -43,7 +43,7 @@
|
||||||
</section>
|
</section>
|
||||||
<section id="step2" class="hidden">
|
<section id="step2" class="hidden">
|
||||||
<h2>Your drink</h2>
|
<h2>Your drink</h2>
|
||||||
<h2>$2.50 - 16oz</h2>
|
<h2>$3.00 - 16oz</h2>
|
||||||
<select id="hoticed" name="hotcold">
|
<select id="hoticed" name="hotcold">
|
||||||
<option value="hot">Hot drinks</option>
|
<option value="hot">Hot drinks</option>
|
||||||
<option value="cold">Iced drinks</option>
|
<option value="cold">Iced drinks</option>
|
||||||
|
|
Loading…
Reference in New Issue