Inline and Block Elements

Solution retrospective
I feel the code could be simpler, anyone with suggestions where to improve on would be highly appreciated and how do I make it responsive?
Please log in to post a comment
Log in with GitHubCommunity feedback
- @Danish49
You could probably use a flexbox set the flex Direction to row in desktop version and by using a media query when entering mobile view change flex Direction to column.
Another method is to set flex wrap to wrap on the container. First one is much more workable.
Overall your design looks great 👍🏻.
Marked as helpful
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