Stats Preview Card

Solution retrospective
Another excellent project for further review. Again, placing the design in the center and making it responsive. I think this repetitiveness has been a beneficial factor in my learning of when to execute a particular type of code with better responsiveness.
What challenges did you encounter, and how did you overcome them?I added an extra media query at 850px, initiating a flex-wrap on the .business-stats. Once the viewport width decreased, it was better for a flex-direction: column, or the stats would bunch up together, making the design fall apart. Also, a margin-top and margin-right for spacing between these items (i.e., < section >).
I also learned how to use the ::after for the first time. I don't have much I can say about this CSS rule since I know very little about it; nevertheless, it is another opportunity to grow as a web developer.
What specific areas of your project would you like help with?I will continue focusing on ::after and ::before since these were two new CSS rules I learned in this project.
Any tips or advice are always welcome!
Happy Coding & Blessings to all
Please log in to post a comment
Log in with GitHubCommunity feedback
No feedback yet. Be the first to give feedback on Rodrigo's solution.
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