Responsive landing page using Flexbox and media query

Please log in to post a comment
Log in with GitHubCommunity feedback
- @thisisharsh7
Great job on completing the project! Your solution looks clean and responsive!
Some suggestions:
-
Mobile Optimization: Consider reducing
font-size
andpadding
for screens below768px
. Adding a media query like@media (max-width: 480px)
could make the content fit even better on very small screens. -
Semantic HTML: Using
<main>
is great, but you could also wrap the entire component (card + attribution) inside a<div class="container">
for better structure and possible future layout control.
Overall great work - happy coding!
-
Join 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