PhoenixDev22• 16,950
@PhoenixDev22
Posted
Hi Alberto,
Congratulation on completing this challenge. Your solution looks great. I have some suggestions regarding your solution if you don’t mind:
- About
<h1>
it is recommended not to have more than one h1 on the page. Multiple<h1>
tags make using screen readers more difficult, decreasing your site’s accessibility. In this challenge , as it’s not a whole page, you can have<h1>
visually hidden withsr-only
. Then swap those<h1>
with<h2>
.
- In my opinion, the images are much likely to be decorative. For any decorative images, each img tag should have empty
alt=""
andaria-hidden="true"
attributes to make all web assistive technologies such as screen reader ignore those images.
- Don't capitalize in html, let css text transform take care of that. Remember screen readers won't be able to Read capitalized text as they will often read them letter by letter thinking they are acronyms.
- There are so many repeated style rules , better to use reusable and manageable classes. For example: each column have the same styles, So you can use a class .card for the shared styles, then for each distinct styles like (background color) use another class
. card__sedans, . card__suvs, .card__luxury.
line-height: 48px;
Use a unitless line-height value to Avoid unexpected results. You can read more in mdn
Hopefully this feedback helps.
Marked as helpful
0
Alberto• 190
@Alberto-12
Posted
@PhoenixDev22 Thank you very much for your feedback. I was on vacation and I just saw it. it's really full of insights that I didn't know. Thank you very much again!
0