use checkbox to show button

$w.onReady( function () {
$w( “#checkbox1” ).onChange((event) => {console.log(isChecked)
let isChecked = $w( ‘#checkbox1’ ).checked;
if (isChecked=== true ){
$w( '#myButton1).show()
console.log( “Checkbox is checked” )
}
else {
$w( '#myButton1).hide()
console.log( “Checkbox is unchecked” )
}
});
});
with this tell me that $w( '#myButton1).show() is not a valid selector with hide too