Design comparison
Solution retrospective
this is second version of mu solution for this app , because I wanted to use MVC architect in javaScript and consider leaps years in my code but I did not spend time to fix queries for mobile-view
What challenges did you encounter, and how did you overcome them?css queries , I did not fix it for this project because my goal was to improve javaScript for this project .
What specific areas of your project would you like help with?first I really appreciate if someone has comment about my code in javaScript , and then I need help to improve queries in css for different resolutions .
Community feedback
- @danielmrz-devPosted 4 months ago
Hey there! šš½āāļø
Congrats on completing the challenge! ā
Your project looks fantastic!
Here's a tip to make it even better:
Using
margin
and/orpadding
isn't always the best way to center an element. Try this super efficient method to center an element vertically and horizontally:š Apply this CSS to the body (skip position or margins to make it work correctly):
body { min-height: 100vh; display: flex; justify-content: center; align-items: center; }
Hope this helps!
Keep up the great work!
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