I am trying to make my own theme, I am a beginner. I installed it, I could set it as default, but, when I enter the site, it says "The website encountered an unexpected error. Please try again later". If I look at the error code in the cosole, it says 'Failed to load resource: the server responded with a status of 500 (500 Service unavailable (with message))'
I've just started on a custom theme extending stable9. The CSS is being loaded properly, but the javascript isn't. The following code is a testing page just to check if the code is working. Is there something I'm missing? The code works when I place it inline but I'd prefer to have it as an external file for good practice.