Design comparison
Solution retrospective
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.
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
- @coding-vasuPosted 3 months ago
@Cxx-mlr, Great Job!
-
I see you are using schematic HTML, however you can use classes to handles the styling instead of using elements directly
-
You can improve on accessibility by adding
ARIA labels & Tab index
for the users who are visual impaired. -
You could have handled responsiveness Desktop/Tablet screen using media queries.
-
The code is well structured, you can improve on naming the classes using
bem
method so that its more readable. -
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 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