I found the error – I had an extra double quote somewhere. But I’m still curious how I can know where the error is. I had to just check the syntax in every event but there must be a better and more efficient way to do this.
How can I know where the error is?