Why did my code work before and now suddenly stop?

@james97196
Just COPY and PASTE it! —> Test it!

Does it work now?

If you still want to do it your own OLD-CODING-STYLE, then navigate to the properties-panel. Delete the existing connection and create a new one.

Example → properties-panel of a button…

EDIT: Try always to CODE the most → COMPACT-WAY ←

instead of using this one…

else if($w("#dropdown1").value === "Raven (RVN)"){
    $w('#html2').hide();
    $w('#html3').show();
    $w('#html4').hide();
    $w('#html5').hide();
    $w('#html6').hide();
    $w('#html7').hide();
    $w('#html8').hide();
  }

better use this one…

else if($w("#dropdown1").value === "Bitcoin Gold (BTG)"){
    $w('#html2,#html3,#html4,#html6,#html7,#html8').hide('fade');
    $w('#html5').show('fade');
  }

…or even create a “LOOP”-function for it, what would be the best way of how to do it…

for (let index = 0; index < array.length; index++) {
      const element = array[index];
      // your code here.......
  }