@i-am-Khael
Posted
To resolve those accessibility issue,
- use an h1 instead of h3
- use main for the <main></main> landmark, then <section></section> to set landmark, then use div(s) inside section element.
and you can change api endpoint to https:// api.adviceslip.com/advice/id , then using Math.floor(Math.random * 255) to generate a random number for the id.
Great work and effort, though.
Marked as helpful
@AnniK93
Posted
@i-am-Khael Thank you so much for your helpful comments! Hope you're having a nice day!