(SOLVED) - What am I missing? (syntax problem?)

But I’d first try to remove everything from the code except for the code that is inside the $w.onReady(). Just to make sure it’s not something in the other code (it’s probably not),