@VCarames
Posted
Hey there! 👋 Here are some suggestions to help improve your code:
- The profile images alt tags need to be improved. It should state the following; “Headshot of -person’s full name-“
More Info:📚
- The names of each individual are headings so they should be wrapped in a Heading Element. Since they are all equal level of importance, the
h2
heading will be the best choice.
- improve the semantics of your component, you will want to wrap each individual testimonial component in a Figure Element, the individuals information should be wrapped in a Figcaption Element and lastly, the testimonial itself should be wrapped in a Blockquote Element.
Code:
<figure>
<figcaption></figcaption>
<blockquote></blockquote>
</figure>
More Info:📚
If you have any questions or need further clarification, feel free to reach out to me.
Happy Coding!🎄🎁
Marked as helpful
@mikej321
Posted
@vcarames Hey there, vcarames and thanks so much for all of the help that you have given me on my journey. I truly do appreciate it. I didn't even know that there were special rules for headshot alts...I'm going to read that article that you linked immediately! With the headings, I know that you aren't supposed to use more than one H1. Is it okay to use more than one H2 and above if necessary? Thanks in advance!
@VCarames
Posted
@mikej321
Glad I could help!
Your code has definitely improved since you first started!
The h2
would be the best option.
Keep it up!