I am doing an HTML/JS project to make a small RPG game in one html file. I will post my github repo link here to the index file. I would really appreciate if anyone who is familiar with javascript to look at my code organization and how I'm writing it and tell me if i'm doing any things wrong or ineffectively. I know about spaghetti code so I try not to do that. I also know not to clump everything together too much or use bad conventions, but it would be quite helpful to get the opinion of someone more experienced on my work. This project is kind of the epitome of about 4 years of studying/working now so it's the most complex thing with moving parts that I've made.
https://github.com/gitWize1/Legend-and-Myth
(the file is "index.html" in the main folder)