Design comparison
SolutionDesign
Solution retrospective
Would be grateful for any feedback and advice
Community feedback
- @RioCantrePosted almost 3 years ago
Hello there! Good job in completing this challenge. Looking at your solution, I would like to suggest the following for you...
- In the
.card
, removeposition: absolute;
,top: 50%;
,left: 50%;
andtransform: translate(-50%, -50%);
. Adjust width intomax-width: 320px;
andborder-radius: 0.5rem;
. Addmargin: 7rem auto;
- Adjust width in
.image-wrapper img
intomax-width: 290px;
andborder-radius: 0.5rem;
- For the hover state of the Hero image, refer it with this example Overlay in images
- The
.cyan
rule set should not have a hover state. Instead addcolor: var(--Cyan);
- Remove the class
cyan
inh4
andspan
. Addcolor: white;
andcursor:pointer
, create a hover state withcolor: var(--Cyan);
- Add
border: 1px solid white;
,border-radius: 50%;
andmargin-right: 1rem;
in the.avatar img
rule set - In
.avatar
rule set, modify the flexbox property intojustify-content: start;
- Instead of wrapping the whole content with
section
, use specific tag likemain
. For HTML structures, refer it with this one Semantics - Include description with the
alt
inimg
tags - Remove unnecessary code to keep it clean
- Import
attribution
style in CSS file and removestyle
tag
Above all, good job in completing this challenge. Hope this helps and Keep it going!
Marked as helpful0 - In the
- Account deleted
Hello there! 👋
Congratulations on finishing your challenge! 🎉
I have some feedback on this solution:
the width is way bigger than the original design so
- decrease the
max-width
to 32vh
if my solution has helped you do not forget to mark this as helpful!
Marked as helpful0 - decrease the
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