Aaron Stroud's questions for the community
In this initial release, I deviated from the design in a couple of ways:
- I left out the DarkMode label. I think it looks better as a single icon.
I still need to fix the blinding darkmode flash. It's annoying on the initial load, but it becomes downright infuriating when you rapidly navigate between border countries (while in darkmode).
I'm planning to use this Josh Comeau post as a guide The Quest for the Perfect Dark Mode, but I'm going to need to overhaul my themes and darkmode to fix the flash. 💥
- I used flex box for the grid, so I couldn't get the cards to justify along the sides (
justify-content: space-between) with a gap. Should I refactor using css grid? (Safari now supports gap with flexbox as of last month)
Give some feedback to astroud about their solution...
Join our Slack community
Join over 50,000 people taking the challenges, talking about their code, helping each other, and chatting about all things front-end!