Design comparison
Solution retrospective
I'm curious if there's a better method for spacing the inner contents of each card using flexbox, other than justify-content: space-between. Thanks!
Community feedback
- @darryncodesPosted about 3 years ago
Hi Jeff,
Great solution, well done!
- flex grow / shrink / basis can be really useful in some situations A Complete Guide to Flexbox
- alternatively you could use a 1 column grid. Here's another really comprehensive guide
All the best!
Marked as helpful0@jcombs0929Posted about 3 years ago@darryncodes Thanks for the feedback! I plan to use CSS Grid in future challenges.
0 - @vanzasetiaPosted about 3 years ago
👋Hi Jeff!
For the spacing, you can use
margin
orpadding
, but it's up to you and depending on your HTML markup though.I also noticed a
.DS_Store
file. You should not delete the.gitignore
file that has been provided by Frontend Mentor.Feedbacks for this solution:
- Only use one
h1
for every page. I recommend to change all yourh1
withh2
. - For the
attribution
, you can swap thediv
withfooter
tag. It's a good practice to use semantic tag. - Use
rem
or sometimesem
, usingpx
unit will not allow the element to grow or shrink based on user setting.
That's it! Hopefully this is helpful!
Marked as helpful0 - Only use one
- @ViicDevPosted about 3 years ago
por cierto he realizado esta misma practica sin usar flex-box
0 - @ViicDevPosted about 3 years ago
Hola ando buscando gente para colaborar en estas practicas y ayudarnos en cualquier duda, tengo dudas de esta y otras practicas que he realizado, puedes encontrarme en Github o Twitter en mi siguiente enlace https://github.com/PitagoraStrike espero podamos trabajar juntos y crecer. Un cordial saludo...
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