Design comparison
SolutionDesign
Community feedback
- @alan-ssantosPosted about 3 years ago
Hey @san-bonilla, great work on this challenge.
I have some suggestions that can help you to fix some issues.
- The
<div class="card-main-container">
element should be<main class="card-main-container">
, this will fix the a11y issue. - Change the
<h2 class='text-title'>
to<h1 class='text-title'>
, because it's a best practice a page have ah1
title. - For the music icon, add
aria-hidden="true”
and remove the text of alt attributealt=""
, because it's for decoration only. <div class="plan-title">Annual Plan</div>
and<div class="plan-price">$59.99/year</div>
should be<p>
element.- Lastly, you can change the
background-size: cover
tobackground-size: contain
and thebackground-repeat: no-repeat
tobackground-repeat: repeat-x
this will make the background image looks better in different screen sizes.
I hope this was helpful and keep doing the challenges. 😉😊
0 - The
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