
Design comparison
Solution retrospective
The design was simple and fun to do
What challenges did you encounter, and how did you overcome them?no challanges
Community feedback
- @Dmino228Posted 8 months ago
Great Work!
You can center a div horizontally and vertically by assigning this styles to their parent element:
display: flex; align-items: center; /* vertically */ justify-content: center; /* horizontally */
or
display: grid; place-items: center;
Marked as helpful0 - @thamu-acnPosted 8 months ago
Simple and straight forward, however I would suggest a separate css file to make styles more readable and adding 'alt' attribute on <img> for accessibility reasons
Marked as helpful0@Kelvin-AriediPosted 8 months ago@thamu-acn thanks for the suggestions already on it
0
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