Nothing fancy. Just follow your code, the same way you check the console, it will give you hints.
In case errors are suppressed, always enable PHP debug mode while still in development.
These might help you too:
Also, you can always search this forum! Surprisingly, I found just now the same problem and SAME solution:
6 Likes