Design comparison
Solution retrospective
Please let me know if there are any issues or ways to improve my code. Thank you!
Community feedback
- @vanzasetiaPosted about 2 years ago
Hi, Salman! ๐
Congratulations on finishing this challenge! ๐
One suggestion I have is to leave the alternative text empty (
alt=""
) for the music icon and the illustration. Those are decorative images. It means that they don't add any meaningful information to the page. This will tell the screen reader to simply skip over the image.I recommend visiting the Solid Start website. Right there, it will give you an overview of web accessibility. Knowing about web accessibility will impact the way you write your code significantly.
I hope this helps! Happy coding!
Marked as helpful1 - @Mohan823Posted about 2 years ago
But it's not shrinking itself when review responsive design. Review my project here: https://www.frontendmentor.io/solutions/order-summary-using-grid-and-flex-tc2TOYFWCb
I also added padding both sides that u skipped when reviewing in mobile layout.
Marked as helpful0 - @MelvinAguilarPosted about 2 years ago
Hi @MXalman ๐, good job for completing this challenge!
Here are some suggestions to improve your code:
- Use
max-width: 350px
tomain
selector instead of width. - Use
min-height: 500px
tomain
selector instead of height. - You can use
<picture>
tag when you need to change the image on different viewports, in this case it would be enough to use thediv
element, or use the image directly since the style of the <picture> is not modified, also remember to update the image withwidth: 100%;
. - You should use the <a> tag to cancel the order
<a href="#" >Cancel Order</a>
I hope those tips will help you.
Good Job and happy coding !
Marked as helpful0 - Use
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