Submitted about 2 years ago
NFT Preview card Using HTML 5, CSS FlexBox and CSS Grid
@varunUk09
Design comparison
SolutionDesign
Solution retrospective
Although I have give my best to complete this challenge but if you have any suggestion for me always welcome :)
Community feedback
- @PhoenixDev22Posted about 2 years ago
Hi Varun Pandey,
Well done! I have some suggestions regarding your solution:
- The link wrapping the equilibrium image should either have
Sr-only
text, anaria-label
oralt
text that says where that link takes you. the alternate test should not be hyphenated .
- For any decorative svgs, each svg tag should have
aria-hidden="true"
andfocusable=”false”
attributes to make all web assistive technologies such as screen reader ignore those svgs.
- Profile images like that avatar are valuable content. The alternate text should not be avatar, it's meaningless.You can use the creator's name
Jules Wyvern
. Read more how to write an alt text .
- The icon view does not really need to be in the HTML. You can use CSS for it.
- In
class="nft-price-container"
, it's not recommended to use<div>
and<span>
alone to wrap a meaningful content. Just keep in mind that you should usually use semantic HTML in place of the div tag unless none of them (the semantic tags) really match the content to group together. By adding semantic tags to your document, you provide additional information about the document, which aids in communication. Instead , you can use an unordered list<ul>
, in each<li>
there should be<svg>
and<p>
.
Overall, your solution looks great. Hopefully this feedback helps
Marked as helpful1@varunUk09Posted about 2 years ago@PhoenixDev22 Thanku Thanku so much my motivation level up
1@PhoenixDev22Posted about 2 years ago@varunUk09 Glad to hear that it was helpful. Happy coding!
Marked as helpful1 - The link wrapping the equilibrium image should either have
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