
Design comparison
Solution retrospective
I would like to see feedback on mobile responsive design side. On my Iphone 7 plus looks great unless I rotate my phone...
Please log in to post a comment
Log in with GitHubCommunity feedback
- @FluffyKas
Hey,
Good start on the challenge! I'd add a few things though:
-
If you wanted to center your card, you could apply this to your body:
min-height: 100vh
,display: flex
,justify-content: center
,align-items: center
. To make this work, you'll also need to remove that big margin-left on themain
container. I'm also not sure adding a fixed height is necessary :) -
I think your card looks a bit better without that
word-break
. To be honest, I've never even saw that property before so I learned something new :) -
Your button uses the browser's default font-family, unless you set it specifically. Alternatively, you could use
all: unset
to get rid of browser defaults. It's also nice to add a fallback font-family in your code, like serif, sans serif, etc. Google fonts actually gives you the right piece of code when you import the font, I'd suggest using that ^^ -
I'd encourage using relative units instead of pixels for a more responsive/accessible design (when applicable)!
Marked as helpful -
- @Juveria-Dalvi
Great work 👍🏻 add div with class attribution in between footer tag
<footer> <div class="attribution"> Challenge by <a href="https://www.frontendmentor.io?ref=challenge" target="_blank">Frontend Mentor</a>. Coded by <a href="https://github.com/Scarab911">Paulius Bieliauskas</a>. </div> </footer> </body>
Marked as helpful
Join 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