Design comparison
SolutionDesign
Solution retrospective
What are you most proud of, and what would you do differently next time?
-I am proud of trying to use the json file.
What challenges did you encounter, and how did you overcome them?-although i have sucess using the json.file(it was my first time), i have some trouble trying to customize the css with the background colors.
- i dont know how to mak the code stopr after you click the button.
- Any tips or explanatios on any aspect of the code will be apreciated.
Community feedback
- @JoramirJrPosted 8 months ago
Hi, @MellTins!
One easy step to center your card would be to define the 'height' and 'width' of the body to '100vh' and '100vw', respectively; after that, by defining 'display: grid' and 'place-items: center' to the body, your card would be centered!
Hope its helpful!
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