Design comparison
Solution retrospective
Hello frontendmentor community! this is my solution to this challenge, feel free to tell me if you find any bug or something funny on your devices while seeing this, thank you guys and keep on coding!
Community feedback
- @BikeInManPosted over 2 years ago
The design on desktop seems to be very close to the design. Congratulations.
Some suggestions about markup.
-
top-info
should be wrapped in aheader
and notarticle
-
h2, h1 is the not the right order. Here you seemed to have used it only for sizing. h1, h2 are not meant for sizing but for section headings in long form articles. You could have wrapped both the lines in
h1
and one of them inspan
inside it and stylespan
separately. -
About card titles,
span
is not the right element. May be h2 or h3 is better.span
is mostly used in between long sentences and you briefly want to accent few words inside it.
Other suggestions.
- Some padding is required on the sides on tablet sizes. Now it overflows.
You can make this challenge more interesting by adding some interactivity to the cards like a hover effect and also making each card a link. They are supposed to lead somewhere, right?
If you can push yourself a little more, you may even try to display 2x2 cards on tablet sizes.
Good Luck.
Marked as helpful0@juliflorezgPosted over 2 years ago@BikeInMan Hey! Thanks for your comments on my solution, I'll try and fix the issues with the HTML tags. And as for the cards layout I actually wrote the 2x2 grid but I guess it didn't work or I made some mistake there haha, will look on that. Again thanks for your suggestions!
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