Design comparison
Solution retrospective
I was able to get the layout to be pretty responsive down to a fairly small mobile size. It does eventually break down, but I think it fails at a point that's narrow enough not to really care about.
I'm not sure how to feel about how I handled the nutrition info. I like how it looks, but I'm not sure a bunch of div
s is the right solution, but it felt better than using a table, since there's nothing inherently tabular about that data.
The only real challenge I ran into here was how to deal with the nutrition info in a grid. I ended up just styling it with a grid and some css magic. I'm pretty happy with the css side of things, but not so sure on the html. Everything else wasn't too difficult.
What specific areas of your project would you like help with?As I've mentioned in previous projects, any feedback is greatly appreciated. I have many years experience in backend development and such, but frontend experience has been pretty light.
Suggestions on how to better markup the nutrition data would be most welcome.
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