Design comparison
Solution retrospective
Your feedbacks are highly appreciated ! :)
Community feedback
- @pikapikamartPosted about 3 years ago
Hey, awesome work on this one. Layout in genera looks really good.
You already got some feedbacks from others which is great, just going to add some as well:
- You don't have to use
position: absolute
on this one. Try inspecting your layout, hover on thebody
tag, you will notice that it doesn't have anyheight
this is because thecard
component is out of the flow. Instead, remove theposition: absolute
and on thebody
tag, use :
body { align-items: center; # centers vertically display: flex; justify-content: center; # centers horizontally min-height: 100vh; # takes full viewport }
Then just remove the
position, left, top, transform
property on thecard
selector.- Always have a
main
element on a webpage. For this one, thecard
selector could use themain
instead ofdiv
. - Always have an
h1
element on a webpage. - The
proceed to payment
could usea
tag instead ofbutton
, since this is not aform
andbutton
does not do anything in here.
Aside from those, really great job on this one.
Marked as helpful1@Elab4d1Posted about 3 years ago@pikamart thank you again for your feedback, those are really good advices and suggestions, I'll try to use them. Thank you
0@Elab4d1Posted about 3 years ago@pikamart I fixed the accessibility issues thanks to your suggestions, thank you :)
0 - You don't have to use
- @FluffyKasPosted about 3 years ago
Hey, good looking solution! Your button is using the browser's default font-family though, you could change that! Also, I'd encourage you to try using relative units instead of pixels^^
Marked as helpful1@Elab4d1Posted about 3 years ago@FluffyKas thank you for your feedback, I'll use relative units in my next challenge thank you
0 - @Juveria-DalviPosted about 3 years ago
Nice work👍🏻😊 Check the accessibility issue use semantic tags click to know more
Marked as helpful1@Elab4d1Posted about 3 years ago@JuveriaD thank you, I'll try to imporove the accessibility.
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