Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Desktop design screenshot for the Recipe page coding challenge

This is a solution for...

  • HTML
  • CSS
1newbie
View challenge

Design comparison


SolutionDesign

Solution retrospective


What are you most proud of, and what would you do differently next time?

I’m proud of my perseverance in tackling this challenge and seeing it through to completion. Next time, I’d like to experiment with different frameworks, such as reactpy and FastAPI. However, I’d need to dive into the reactpy to grasp deployment and integration.

What challenges did you encounter, and how did you overcome them?

I spent a significant amount of time attempting to style the table, only to discover that my styles weren’t taking effect.

I then realized that using display: block on certain elements, such as tr and tbody, was necessary for the styles to take effect.

I also applied all: unset to elements like table, caption, and tbody to remove default browser styles, which gave me a clean slate to work from:

table, caption, tbody, tfoot, thead, tr, th, td {
  all: unset;
}

Additionally, I spent considerable effort figuring out how to add lines between table rows (tr), and I’m pleased with the solution I came up with.

To successfully complete this project, I relied on tools like Firefox DevTools and AI assistance, including ChatGPT, which helped me with class names.

What specific areas of your project would you like help with?

I’d like assistance with minimizing my use of media queries.

Community feedback

P

@coding-vasu

Posted

@Cxx-mlr, Great Job!

  1. I see you are using schematic HTML, however you can use classes to handles the styling instead of using elements directly

  2. You can improve on accessibility by adding ARIA labels & Tab index for the users who are visual impaired.

  3. You could have handled responsiveness Desktop/Tablet screen using media queries.

  4. The code is well structured, you can improve on naming the classes using bem method so that its more readable.

  5. Overall it looks good!

In order to minimize the media queries, I suggest mobile-first design approach. You can check my solution to learn more!

1

Please log in to post a comment

Log in with GitHub
Discord logo

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