Design comparison
Solution retrospective
Please point out my shortcomings....Was there any optimal way of writing this same code? Responsiveness? Layout? Typography? How could I have done it better?
Community feedback
- @correlucasPosted over 2 years ago
πΎHello Viraj, congratulations for your new solution!
Your solution is great, the design is really good done, something you can improve is the card responsiveness, its already working, but if you note the pricing section (annual plan) starts to break when the container become small.
A way to fix that is by creating a media query to change the section flow and put each element in a different row to save space.
Here's the code with the media query I did for you:
@media (max-width: 340px) { .container2 { display: flex flex-direction: column; } }
π I hope this helps you and happy coding!
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