Design comparison
SolutionDesign
Solution retrospective
For the themes I used 3 different classes which I added and removed from the HTML document with JavaScript. However, when I tried to use "prefers-color-scheme" in CSS, I couldn't switch between the other themes any more. So I decided to leave it out for now. I have to do some more researching about it.
Community feedback
- @FarisPalayiPosted over 3 years ago
Looks good and responds nicely 👍
One small suggestion is that, instead of setting body
height: 100vh
change it tomin-height: 100vh
. So that when people are using devices that have small screen heights can also use it.Have fun codin' ✨
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