Design comparison
Solution retrospective
I'm having trouble with the units of measurement for minimum and maximum height and width.
Community feedback
- @ErwiniaDevPosted 17 days ago
Hi there! First of all, congratulations on your project, it's pretty close to what's expected.
I've got some feedback if you want, but I'd better warn you, I'm just a beginner so this feedback won't necessarily be the most relevant...
-
Great, you thought of the "reset.css" file. I didn't know about it before doing this challenge myself. I was advised to put it directly in the "style.css" file for performance reasons.
-
As this card is not intended to stand alone on a website page, its title is not the title of the page. You can therefore use an h2 instead of your h1.
-
The body includes the
header
,main
andfooter
. Thefooter
is not part of themain
. And pay attention to indentation in your HTML file. -
I think you don't need the
div
with theclass="qr-img"
, and only one of the div is necessary betweencard-container
andcard-content
. For my part, I've put the title and text together in adiv
so that I can easily manage the gap between them, for example. Not sure that's necessary. -
The
border-radius
for the card is 20px (you have 10px). For thepadding
of the card, it's 16px on the Figma file (you have 20px). And for thefont-size
of the card title, it seems to be 22px on the Figma file (you have 1.5rem = 24px, you can get 1.4rem I think). -
On this last point, I'm not quite sure. In the modern CSS reset, there's
line-height: 1.5;
but it just seems too big. For my part, I've commented out this line in the modern CSS reset.
Honestly, nice work. I hope my feedback will be of some use to you and not mislead you.
All the best!
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