Design comparison
SolutionDesign
Community feedback
- @MabIggoPosted over 2 years ago
Hi, I see your code and report .
What must you do to fix it
Accessibility
- All page content should be contained by landmarks to fix it do this change your code from
(
<div class="parentContainer"> YOUR CODE </div>)
TO THIS
(
<main>
</main><div class="parentContainer"> YOUR CODE </div>
)
also do it with (
<div class="attribution">your code</div>
)to
(
<footer>
</footer><div class="attribution"> your code </div>
)
2.Page should contain a level-one heading to fix it change your code from
<p class="productTitle">Gabrielle Essence Eau De Parfum</p>TO
(<h1 class="productTitle">Gabrielle Essence Eau De Parfum</h1>)
3.in HTML Validations in button no need to use <p></p>
instead this
(
<button class="buyButton">
</button><p>Add to Cart</p>
)
use this (
<button class="buyButton">
</button>Add to Cart
)
Marked as helpful0@panosjapan7Posted over 2 years ago@MabIggo Fixed everything. Nice catch about the <div class="attribution"> being inside a <footer>
Thanks!
1
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