Design comparison
SolutionDesign
Solution retrospective
Although there isn't much to this component, I checked for ARIA labels and I hope that I didn't miss anything.
Community feedback
- @MaxiTRRPosted about 2 years ago
Hi! It look very good! Checking your code i recommend you to use:
body { display:flex; justify-content:center; align-items:center }
This will center the container to the center, without using any margin to place them, so yo can not worry if you modify or added more divs or containers in the future. However, i think it is not a good practice apply a display propertie in the body, but for this challenges of one component only it makes the trick!
Marked as helpful0
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