Responsive Recipe Page with Flexbox and Media Queries
Design comparison
Solution retrospective
I'm most proud of being able to search for things that were giving me trouble and then finding solutions for them online. I originally had the table at the bottom as a bunch of divs using CSS Grid but reworked it as an HTML table, so in the future, I would use an HTML table for tabular data.
What challenges did you encounter, and how did you overcome them?My largest challenge was getting the ```` bottom borders to show up. I learned that I needed to use border-collapse: collapse
for the bottom border to show up.
I think the area I most need help with is simplifying my code. I tend to create a CSS class for almost everything for more control and "future-proofing", but I won't need these classes most of the time. CSS can easily specify what I need, so I waste time creating so many classes. I'm sure my HTML could also be simplified.
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