Why did my code work before and now suddenly stop?

@Velo-Ninja I copied and pasted. There were a couple syntax errors to correct, but not a big deal. It's still not working though.

$w.onReady(function () {
    $w('#html2').show();
    $w('#html3,#html4,#html5,#html6,#html7,#html8').hide();
    
    $w('#table1').show();
    $w('#table2').hide();
})

$w('#switch1').onChange(()=>{
  if($w('#switch1').checked === false){
    $w('#table1').show();
    $w('#table2').hide();
  }
  else if($w('#switch1').checked === true){
    $w('#table1').hide();
    $w('#table2').show();
  }
})

$w('#dropdown1').onChange(()=>{
    
    if($w("#dropdown1").value === "Ethereum (ETH)"){
        $w('#html3,#html4,#html5,#html6,#html7,#html8').hide('fade');
        $w('#html2').show('fade');
  }
    else if($w("#dropdown1").value === "Raven (RVN)"){
        $w('#html2,#html4,#html5,#html6,#html7,#html8').hide('fade');
        $w('#html3').show('fade');
  }
    else if($w("#dropdown1").value === "Ergo (ERG)"){
        $w('#html2,#html3,#html5,#html6,#html7,#html8').hide('fade');
        $w('#html4').show('fade');
  }
    else if($w("#dropdown1").value === "Bitcoin Gold (BTG)"){
        $w('#html2,#html3,#html4,#html6,#html7,#html8').hide('fade');
        $w('#html5').show('fade');
  }
    else if($w("#dropdown1").value === "Eth Classic (ETC)"){
        $w('#html2,#html3,#html4,#html5,#html7,#html8').hide('fade');
        $w('#html6').show('fade');
  }
    else if($w("#dropdown1").value === "Conflux (CFX)"){
        $w('#html2,#html3,#html4,#html5,#html6,#html8').hide('fade');
        $w('#html7').show('fade');
  }
    else if($w("#dropdown1").value === "Cortex (CTXC)"){
        $w('#html2,#html3,#html4,#html5,#html6,#html7').hide('fade');
        $w('#html8').show('fade');
  }
})