Design comparison
SolutionDesign
Solution retrospective
This was a fun challenge!
Is there a more efficient way of working with the CSS code, or is this an appropriate length?
I'm still new to working with CSS at-rules, in this case @media. I'm wondering if this is necessary to get the image to behave properly when resizing a browser window, or if there is another way.
Community feedback
- @RioCantrePosted over 2 years ago
Hello there! Great work with this one. Regarding the solution you submitted, I think you should know the following notes…
- Instead of
div
, alternatively wrap the whole content with semantic tags, for HTML structures, refer it with this one Semantics. Like this line<div class="container">
withmain
tag and<div class="attribution">
withfooter
tag. Theattribution
part can be place within thecontainer
- Include description with the
alt
in image tags. Like this line<img src="images/icon-view.svg" alt="">
but it's optional - You could wrap this part with
section
tag...
<div> <h2>Equilibrium #3429</h2> <p>Our Equilibrium collection promotes balance and calm.</p> <ul> <li><img src="images/icon-ethereum.svg" alt="">0.041 ETH</li> <li><img src="images/icon-clock.svg" alt="">3 days left</li> </ul> </div> Into: <section> <h2>Equilibrium #3429</h2> <p>Our Equilibrium collection promotes balance and calm.</p> <ul> <li><img src="images/icon-ethereum.svg" alt="">0.041 ETH</li> <li><img src="images/icon-clock.svg" alt="">3 days left</li> </ul> </section>
- Remove
color: hsl(0, 0%, 100%, 60%);
and replace it withcolor: hsla(215, 51%, 70%, 1);
in thebody
rule set
Besides that...
- HTML structure is organized and clean
- The CSS file is well structure and proper usage in sizing elements
- Great job with the hover state of the design, specially the hero image
- The project is responsive and utilized the details based on the original design
Above all, The project is awesome! Keep it up!
Marked as helpful0 - Instead of
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