Design comparison
Solution retrospective
I would like to know how many ways are there to navigate a page on toggle using JavaScript & If you're free, I would also love a feedback like how is my code, how should write code most efficient way. Thank you.
Community feedback
- @En-JenPosted about 4 years ago
Hey Jeet, if you're looking for a tutorial on how to make light theme/dark theme switchers, check out this YouTube video. It's not for this exact challenge, but I was able to use the methods from this video in my solution 😊
https://www.youtube.com/watch?v=D1yg4T37qYo&list=LLKDQrHVty6w7L57Hy56PXRA&index=1&ab_channel=WEBCIFAR
0 - @paminus-kingoriPosted about 4 years ago
Awesome work
0@jv18creatorPosted about 4 years ago@paminus-kingori Thank you very much. Can you tell why is my solution different than their design. I run it on various desktops and mobile.... Everything seems fine.
0@paminus-kingoriPosted about 4 years ago@jv18creator i'm not really sure, but I assume its because you load another page when a user clicks on dark mode. I think it should be one page, with light and dark mode, where the user can toggle between the two.
0@jv18creatorPosted about 4 years ago@paminus-kingori alright thanks. I thought that it's junior level challenge and I really don't know any fancy ways to change theme. Could you help me with that? It you have any tutorial or article. It would be great if you do.
0
Please log in to post a comment
Log in with GitHubJoin our Discord community
Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!
Join our Discord