it should be $w('#statebox8).show without parenthesis. not $w('#statebox8).show ()
alternatively, you can do: .then(() => $w('#statebox8).show())
it should be $w('#statebox8).show without parenthesis. not $w('#statebox8).show ()
alternatively, you can do: .then(() => $w('#statebox8).show())