Responsive Single Price Grid Component - BEM, flexbox, media query
Design comparison
Solution retrospective
I'm not subscribed to pro, so I want to know how can I get the measurements right? I've been doing it trial and error, and it takes up a lot of my time. Can't seem to get the exact measurements no matter how hard I try.
And can I get any advice in using BEM? And if there are still things I can improve on, please let me know. Thank you!
P.S. Haven't applied shadows. I'll update this soon :)
Community feedback
- @tiagobwPosted over 2 years ago
Hi Erel,
You can probably get the exact measurements by opening the design .jpg inside Photoshop / Illustrator / Figma and using the Ruler tool.
But I think that coding just by looking at the image and getting a good design is much more valuable. And yours is already great.
And the same goes for your BEM methodology for CSS and structure, semantics, and accessibility for HTML.
Great job.
10/10.
:)
Marked as helpful0@ereljapcoPosted over 2 years ago@tiagobw I will try to use the ruler tool in Photoshop on the next challenge. Thank you so much, Tiago! I really appreciate the you looked into my code :)
1@tiagobwPosted over 2 years ago@ereljapco
That's great,
I'm glad I could help.
Thinking here, and for the fonts (just in case the size isn't available on the Front-end Style Guide), you can download the font in Photoshop / Illustrator / Figma and type over the design .jpg to see what size fits perfectly.
Just a heads up about this challenge, it asked for
See a hover state on desktop for the Sign Up call-to-action
.I also forgot this detail, I've only added a
cursor: pointer
. I need to update it later.Keep up the awesome work. :)
See you later.
Marked as helpful1@ereljapcoPosted over 2 years ago@tiagobw Thank you so much for the tip about the font size. It takes a lot of trial and error to get close to the design ^^'
Oh, my. Didn't notice the need for the hover state. Thank you for telling me. I always just based the code on the design images provided. This didn't have an active state image ^^'
Thank you so much for the help. Cheers! :)
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