nft-preview-card-component using CSS PseudoElements and Positioning
Design comparison
Solution retrospective
I completed this challenge and please review my code for the useful feedback
Community feedback
- @darryncodesPosted almost 3 years ago
Hi Srijan
Great solution - nice work!
I'd encourage you do clear your accessibility report. If you add
alt-txt
, ah1
and use semantic html you'll clear it. Semantics and heading structure is really important. For example<div class="card">
should be<main class="card">
.I'd also think about the interactive elements having
cursor: pointer
and consider<div class="card-image-container">
being an anchor tag for accessibility as it's interactive.I hope that helps & keep up the momentum!
Marked as helpful0 - @rsrclabPosted almost 3 years ago
Hi, SRIJAN SAINI ~
Congratulate on your solution to the challenge on FM platform. I have studied your work carefully and learned a lot from it. Especially I like BEM structure on the solution.
Here are some of the tips I like to provide.
- Please add transition effect on heading and creator name.
- Image tags must have alt attribute as a standard.
- Card goes over screen on smaller devices, and I think
max-width
will solve the issue.
https://www.frontendmentor.io/solutions/my-first-solution-on-chanllenge-V-4IzAivH
Here is my solution to this challenge, and if it can help you even a bit, it would be happy to me.
Cheers ~
Marked as helpful0
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