Javascript identical if else statements behaving differently /not outputting HTML – Jquery
I am new to JS and was trying to practice conditionals when I ran into this really weird problem. Each conditional is working as intended in the sense that when the desired condition is met, the code is executed, for…