Design comparison
Solution retrospective
Tuve dificultades para hacerlo responsivo, además, no sabía el tamáño especifico de la card o de las imagenes.
Community feedback
- @vitoraragonePosted almost 2 years ago
Hi Noe!
You can use
display: grid
at the div.card
instead ofdisplay: flex
.I suggest you to make something like this:
.card { display: grid; grid-template-columns: 1fr 1fr; }
This will make the layout easily responsive. Also, I suggest you to create a css file. Isn't the case in this challenge, but it makes the code easier to explore. In bigger projects, a huge style in html would be very difficult to read.
Hope this helps you. ;)
(I'm new at this whole thing. Feel free to correct me).
Hope this helps you.
Marked as helpful1@noecortezPosted almost 2 years ago@vitoraragone Thanks a lot. I applied your suggestion and it looks phenomenal. Thank you.
1
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