Design comparison
Solution retrospective
I am a beginner, any feedback would be deeply appreciated.
Community feedback
- @grace-snowPosted over 3 years ago
Hi
I'm afraid this still needs quite a but of work.
Did you forget to import the fonts?
Some of the content is spilling out of the card on mobile for me. I'll add some Screenshots to slack so you can see what I mean.
It's also a bit odd how I am seeing the desktop version on mobile landscape with very small text. Have you changed the viewport meta in the document head? Or maybe it's just caused by the css I'm not sure...
Other issues I can see
- nested sections - it's OK to use divs for layout
- h2s need removing, they don't make sense as headings
- small element needs swapping for a span
- font sizes should be in rem not px
- layout needs building with flexbox, not large paddings / margins
- line height should be unit less like 1.5
- heights and widths arent needed on the card or its children, just a max-width on the card and min-height on the image. Maybe some flex-basis
- alt text if used needs to describe what's in the image
I hope these pointers help you and give you stuff to read up on. Good luck
2@DarhnielPosted over 3 years ago@grace-snow I can't seem to find a perfect way to place the card at the center of the page. Any tip to help me out?
0@grace-snowPosted over 3 years ago@Darhniel make the body either a display grid or flex, then use accompanying properties to center
So with grid that would be place-content center
Or with flex it would be justify content and align items both set to center
Marked as helpful0 - Account deleted
That's Good as a start.. Continue Your Track✌
1 - @aminequPosted over 3 years ago
You used the wrong fonts and the picture is a bit darker than it should be.
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