Design comparison
Solution retrospective
comments are welcome :)
Community feedback
- @PhoenixDev22Posted almost 3 years ago
Hello @dovanaite ,
I have some suggestions regarding your solution:
- Anything with a hover style in a design means it's interactive. you need to add an interactive element
<a>
around theEquilibrium #3429, Jules Wyvern
. like :
<h1><a href="#">Equilibrium #3429</a></h1> <p class="creationText"> Creation of <a href="#">Jules Wyvern</a></p>
-
For any decorative images, each img tag should have empty alt="" and aria-hidden="true" attributes to make all web assistive technologies such as screen reader ignore those images in (
icon-clock.svg, /icon-ethereum.svg", icon-view.svg
) -
the
icon-view
doesn't really need to be in the html and doesn't need to be wrapped in an interactive element <a> , you could do it with css. If you want it to stay in html it needs to bearia-hidden
:true ` orrole presentation
with empty alt -
The
alt
text of the shouldn't bealt="nft creator avatar"
, it’s meaningless . You may use the author nameJules Wyvern
.Tips for writing 'good' alt text. -
the link should be wrapping the original image and either have
Sr-only
text, anaria-label
oralt
text that says where that link takes you. -
You can use an unordered list
<ul>
to wrapclass="info"
and in each<li>
, there would be<img >
and<p>
. -
No need for
<hr/>
, you can useborder-top
to theclass="creation"
. -
It's better to use
min-height: 100vh;
for the body , using vh (viewport height) units to allow the body to set a minimum height value based upon the full height of the viewport. -
Never use
px
for font-size. -
You should use
em
andrem
units .Bothem
andrem
are flexible, Usingpx
won't allow the user to control the font size based on their needs.
I would suggest to check @vanzasetia solution and read the read me file to have an idea how to set the hover effect on the image
Overall your solution is good , Hopefully this feedback helps.
Marked as helpful3 - Anything with a hover style in a design means it's interactive. you need to add an interactive element
- @m-Ash1Posted almost 3 years ago
I can't really catch any difference between the two designs so GOOD JOB! I just have one comment on the photo overlay. you can add a
transition: 0.3s;
to make the hovering event smoother. but at all good job and keep up :)Marked as helpful1
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