Design comparison
SolutionDesign
Solution retrospective
I would love someone who knows tailwind CSS to check my code source and tell me if I have done the hovering on the image and got that look part correctly. If I hadn't done it correctly, I would gladly learn it.
Community feedback
- @fernandolapazPosted over 1 year ago
Hi π,
Regarding your comment, I think you have done the hovering on the image correctly.
But maybe this couple of things might interest you:
- When there is a hover state over an element it means that it is interactive, so there must be an interactive element around it (like a link or a button). So, we should use a
<a>
or<button>
to wrap the image (depending on what happened when clicking on it). Also 'Equilibrium #3429' and 'Jules Wyvern' should be wrapped with the<a>
tag.
- Also, it is important that every page has an
<h1>
.
I hope itβs useful : )
Regards,
Marked as helpful0 - When there is a hover state over an element it means that it is interactive, so there must be an interactive element around it (like a link or a button). So, we should use a
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