If Statements Not Working in JS

Hello All,

I am brand new to coding in general and have been following some different guides for the past month or so. While learning how to create different if statement comparisons in JS I have encountered a problem that I cannot seem to figure out.

When I write a basic if statement it does work, but as soon as I add elseif comparisons it will not print anything out on my website. Can anyone suggest what I may be doing wrong or does anyone see any issues with the code in general? It looks like it should work, to me at least, haha.

Any help is greatly appreciated.


My HTML file is very basic with just in the body.