Design comparison
Solution retrospective
There were quite a few things I struggled with and one of them is the responsiveness of the website. I am not sure if I did the sizing right.
I would love some feedback on the work, as I am a beginner :)
Community feedback
- @oshudevPosted over 2 years ago
Hi EJ 👋. You've done well on your first challenge. About responsiveness, there is a trick that I always use. Do
max-width: (whatever the size you want)
thenwidth: 100%
. In this way, when the view width is less than the setmax-width
, it will naturally scale to whatever the size of the parent element is. Then consider using themain
tag and wrapping the card for accessibility. It goes like this:<body> <main> <section class="Main-Display"></section> <div class="attribution"></div> </main> </body>
Another thing is that you can't use
z-index
if there is noposition
property. And also,align-self
andjustify-self
can't be used if you're not usingdisplay: grid
. You should usealign-items
andjustify-content
onflex-box
. Also, check the report for other issues as well.Marked as helpful1@ejionautPosted over 2 years ago@eurus1108 I see! Thanks for the tip :) I'll try to play around with it more. I got confused in the align and justify parts, glad to learn the difference now.
0@oshudevPosted over 2 years ago@ejionaut I'm glad I helped you. You can follow me to see the challenges I've done, so you can have a reference for your future challenges.
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