Design comparison
Solution retrospective
Any type of feedback is welcome. I feel I am improving this is my second challenge.
Should I use percentages instead of px for the grid?
Community feedback
- @rui-rmvPosted over 1 year ago
So, good job on completing this challenge :) I have a few suggestions to you.
-
You did well to always use classes for stilling, but when choosing the class name, it should be meaningful and not related to styling (e.g.
background_color
is not a good name). Also please don't use capitalization on class names or underscores. Always write the class-names-like-this. -
Remove the background_color div and add the corresponding style to the body tag.
-
Use a code formatter like Prettier (easy to use on VSCode)
-
Use a CSS reset sheet like this one: https://meyerweb.com/eric/tools/css/reset/. Your HTML shouldn't be used because of styling.
-
You did good to have the
item-title
as anh1
element and theitem-description
as a paragraph. For the price you could use adiv
since there really isn't any html tag with that meaning. You should strive to write semantic HTML
Marked as helpful1 -
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