Design comparison
Community feedback
- @tdimnetPosted 6 months ago
Hi Bishwajeet-07,
Nice work! I looked at your code and I really enjoyed that you used CSS variables for your project. It makes the CSS easier to read and to use.
I also saw that you created a
app.js
file in order to toggle dark/light mode. However, I didn't see where I can toggle it on your project? Is there something that I miss?By the way:
tough.addEventListener("click", (e)=>{ body.classList.toggle("dark") })
You don't need to use the
e
in your callback function.Great job so far!
Have a nice day, Tom.
Marked as helpful1@Bishwajeet-07Posted 6 months agoThank you @tdimnet for commenting.
dark and light modes are working when you click on the text where (Powered by Technology) is written on top.
I had coded it for fun. I know there is no button for light and dark modes.
0@tdimnetPosted 6 months ago@Bishwajeet-07 : Oh ok, sorry, I didn't see your button was on the text.
But I do like that you added a light and dark modes :). How did you make it? Was it easy?
Have a nice day, Tom.
Marked as helpful1
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