0

JavaScript functions

I want to get 3 other images displayed in the 3 divs when the option containing the string "Champagne" in the value is selected. How can I get this done? https://code.sololearn.com/Wy6M9oQ42JSs/?ref=app

9th Mar 2021, 5:22 PM
okurpants
okurpants - avatar
2 ответов
0
Take and store data from the select/ecc. with document.getElemenById, after click the button check if variable == 'Champagne' { create 3 div with for and document.write }
9th Mar 2021, 6:12 PM
Elia
Elia - avatar
0
Eli can you help me out in the code?
10th Mar 2021, 4:59 AM
okurpants
okurpants - avatar