Ok. I figured it out. The input id “email” had the same id as another div I had forgotten about. I just changed the input id to “mail” instead.
Yes. Thank you thank you thank you.
Thank you so much. You were absolutely right. I’m organizing my code much better now. Thank you for the links. They’re such a help.