@VCarames
Posted
Hey there! π Here are some suggestions to help improve your code:
- The only heading in this component is the βGet insights that help your business growβ everything else will be wrapped in a
paragraph
element.
- The statistics at the bottom **are a list **, so it should be built using an
unordered List
element.
More Info:π
MDN <ul>: The Unordered List element
- The images serve no other purpose than to be decorative; It adds no value. The
alt tag
should left blank and have anaria-hidden=βtrueβ
to hides it from assistive technology.
More Info:π
https://www.w3.org/WAI/tutorials/images/
- 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
If you have any questions or need further clarification, feel free to reach out to me.
Happy Coding!ππ
Marked as helpful
@momolajnef1
Posted
@vcarames Thank you for your feedback. I learned a lot from it. I will be more careful next time.