Design comparison
Solution retrospective
What did you find difficult while building the project? For me was to explain to my partner that we worked together on what to use and why, but it also was good practice for me. The most challenge to us was the mobile responsive because we don't start from this, that should be.
Which areas of your code are you unsure of? Responsive
Do you have any questions about best practices? Maybe about mobile sizes, how to make this easier to learn?
Community feedback
- @VCaramesPosted about 2 years ago
Hey there! 👋 Here are some suggestions to help improve your code:
-
The Alt Tag Description for the image needs to be improved upon. You want to describe what the image is; they need to be readable. Assume you’re describing the image to someone.
-
This challenges requires the use of two images 🎑 for different breakpoints. The Picture Element will facilitate this.
Here is an example of how it works: EXAMPLE
Syntax:
<picture> <source media="(min-width: )" srcset=""> <img src="" alt=""> </picture>
More Info:
https://www.w3schools.com/html/html_images_picture.asp
https://web.dev/learn/design/picture-element/
-
The name of the perfume , “Gabrielle Essence Eau De Parfum” is the most important content in your card so it should be wrapped in a Heading Element.
-
The old price 🏷 is not being announced properly to screen readers. You want to wrap it in a Del Element and include span element with an sr-only text explaining that this is the old price.
Happy Coding! 👻🎃
Marked as helpful0@ciisiqPosted about 2 years ago@vcarames Thank you so much for the tips 🙌🏻 I'll check this and improve!!
0 -
- @aarsh07Posted about 2 years ago
Hello Cintia , how are you ?
Your design is pretty good but you should give a breakpoint at 750px for mobile screen because it is overflowing in mobile design so check that
Marked as helpful0@ciisiqPosted about 2 years ago@aarsh07 Thank you for your feedback I will change this =D
1 - @AdrianoEscarabotePosted about 2 years ago
Hi Cintia, how are you?
Welcome to the front-end mentor community!
I really liked the result of your project, but I have some tips that I think you will enjoy:
- every Html document must contain the main tag, so we can identify the main content, to fix this, wrap all the content with the main tag. HTML5 landmark elements are used to improve navigation experience on your site for users of assistive technology.
- Consider using rem for font size .If your web content font sizes are set in absolute units, such as pixels, the user will not be able to re-size the text or control the font size based on their needs. Relative units “stretch” according to the screen size and/or user’s preferred font size, and work on a large range of devices.
The rest is great!
I hope it helps... 👍
Marked as helpful0
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