Single price grid component using SCSS
Design comparison
Solution retrospective
Your feedback is useful for me :).
Community feedback
- @FluffyKasPosted almost 3 years ago
Hiyo,
Your solution looks pretty good! I'd add a few thoughts though:
-
Read up on what br element is used for! You don't want to use it here. In general, if you'd like to set a width of a
p
(I'm assuming that's why you added abr
here?), you could usewidth
,max-width
or add some inline padding. -
Logically "Monthly subscription" and "Why us" headings should be on the same level instead of being different h2 and h3 headings.
-
In the Why us section, you're using a
p
where there's supposed to be a list of reasons why people should choose to use the product the component advertises. Understanding the content help you choose the right html tag. Here I think aul
would do better, with each point being anli
. -
Your container isn't centered before width hits 768px,
display: grid
is only applied when the screen gets larger than that.
Hopefully this helps a bit! :)
Marked as helpful1@mohamadadithyaPosted almost 3 years ago@FluffyKas thanks for your feedback and advices, it's help me a lot ;).
0 -
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