Design comparison
SolutionDesign
Solution retrospective
Feedbacks?
Community feedback
- @denieldenPosted over 2 years ago
Hi Jhan, great work on this challenge! 😉
Here are a few tips for improve your code:
- add
main
tag and wrap the card for improve the Accessibility - add descriptive text in the
alt
attribute of the images - remove all unnecessary code, the less you write the better as well as being clearer: for example the
figure
container of image - remove
height
from.card-container
class - to make it look as close to the design as possible set
width: 22rem
tocard-container
class - remove
height
fromimg
or qr code - instead of using
px or %
use relative units of measurement likerem
-> read here
Overall you did well 😁 Hope this help!
0 - add
- @vanzasetiaPosted over 2 years ago
Hello, Jhan! 👋
Congratulations on completing this challenge! 🎉 Good effort on this challenge! 👍
There are some areas that can be done better.
- This site doesn't require any media query in order to be responsive. Here's some guidance to achieve that.
- First, the card only needs a
max-width
. Use eitherpx
orrem
. - Second, let the element inside the card dictate the
height
of the card. - Lastly, you can remove the
width
and theheight
from the.card-container
- First, the card only needs a
- The image is the main content of the page. It should be visible to screen reader users. Add alternative to the image.
- It would be great if the site have a title. 😉
I hope you find this information beneficial. Happy coding! 😄
0 - This site doesn't require any media query in order to be responsive. Here's some guidance to achieve that.
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