How To Build A Toggle Switch To Handle More Than Two Themes With Just Html, Css And Javascript

Some weeks back, I saw this challenge put up by FrontendMentor on their Twitter account, it was a challenge to create a functional calculator on the web which should be able to toggle amongst three themes: dark, light and neon.
So I decided to jump on the challenge and I was able to create this.