@james97196
Ok! Next step of debugging…
$w('#dropdown1').onChange(()=>{console.log("DropDown1 changed!!!")
if($w("#dropdown1").value === "Ethereum (ETH)"){console.log("if-1");
$w('#html3,#html4,#html5,#html6,#html7,#html8').hide('fade');
$w('#html2').show('fade');
}
else if($w("#dropdown1").value === "Raven (RVN)"){console.log(.........);
$w('#html2,#html4,#html5,#html6,#html7,#html8').hide('fade');
$w('#html3').show('fade');
}
else if($w("#dropdown1").value === "Ergo (ERG)"){console.log(.........);
$w('#html2,#html3,#html5,#html6,#html7,#html8').hide('fade');
$w('#html4').show('fade');
}
else if($w("#dropdown1").value === "Bitcoin Gold (BTG)"){console.log(.........);
$w('#html2,#html3,#html4,#html6,#html7,#html8').hide('fade');
$w('#html5').show('fade');
}
else if($w("#dropdown1").value === "Eth Classic (ETC)"){console.log(.........);
$w('#html2,#html3,#html4,#html5,#html7,#html8').hide('fade');
$w('#html6').show('fade');
}
else if($w("#dropdown1").value === "Conflux (CFX)"){console.log(.........);
$w('#html2,#html3,#html4,#html5,#html6,#html8').hide('fade');
$w('#html7').show('fade');
}
else if($w("#dropdown1").value === "Cortex (CTXC)"){console.log(.........);
$w('#html2,#html3,#html4,#html5,#html6,#html7').hide('fade');
$w('#html8').show('fade');
}
})
What is different now?
Exactly we will now use some CONSOLE-LOGS to locate the issue…
Do you get the any message in the CONSOLE?
If so —> your button works and the issue is located somewhere else.
If not → you have a button-event-problem.
Put some more LOGICAL console-logs into the shown code-part by your own…
Test your code and locate your bug!
EDIT: Which CONSOLE-LOGs could also be interessting for you ?
—> dropdown-values?