Design comparison
Solution retrospective
Any Feedback will be much appreciated. Thank you in advance.
Community feedback
- @PhoenixDev22Posted almost 3 years ago
Hello @peterramirez18,
I have some suggestions regarding your solution:
-
By using landmark elements , you can improve the navigation experience on your site for users of assistive technology . So wrap the content of the body (card) in
<main>
, a< footer >
for the attribution. -
Anything with a hover style in the design means it's interactive . You need to add an interactive element around the image(in this challenge , you can use an anchor tag
<a>
). -
The images don't need filled
alt
. They are decorative images, so alt attribute should be left intentionally blank. You can optionally addaria-hidden
orrole presentation
to ensure the images are always ignored by screen readers ANDavatar's one andimage-equilibrium.jpg
should not be empty and should be descriptive . Read more about decorative and informative images . -
Page should contain a level-one heading
<h1>
. -
The eye image doesn't really need to be in the html, you could do it with css..
-
You can simply use unordered list
<ul>
to wrap<div class="price">
and in each list item would have<img >
and<p>
. -
You shouldn't have used
<div class="line">
, you can useborder-top
property for theclass="avatarinfo"
. -
You can use more html semantic tags like
<figure><figcaption >
for the avatar part.
Hopefully this helps.
Marked as helpful1@peterramirez18Posted almost 3 years ago@PhoenixDev22 Thansk so much for you time and suggestions, check now!
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