Β© 2026 LinearBytes Inc.
Search posts, tags, users, and pages
Tejansh Rana
Architecting, building, and deploying scalable enterprise applications.
I've been working on my portfolio website of late and wanted to add the "theme switch" where users get to select whether they want to view my website in dark mode or light mode. While working on that, I realized this can be extended to not just two, ...
Lucky Victory Success
Writer and frontend Developer.
nice article,I love the way you declared js variables for almost everything.
Thank you :)
John Francis Cortez
Looking for collaboration and I'll do it for free in exchange that you help me learn in Javascript, Python, Java and others.
This is so AWESOME!
Thanks John Francis Cortez! :)
Catalin Pit
I always wondered how you could add multiple themes (dark and light) to your website.
Thanks for this great article, Tejansh Rana! π
Thanks Catalin Pit! Iβm glad you found this useful :)
Lucky Victory Success
Writer and frontend Developer.
nice article,I love the way you declared js variables for almost everything.