Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found

Submitted

Mobile First - Stats Preview Card Component

@davutpiro

Desktop design screenshot for the Stats preview card component coding challenge

This is a solution for...

  • HTML
  • CSS
1newbie
View challenge

Design comparison


SolutionDesign

Solution retrospective


Hello everyone, this is my second project here. I look forward to all the advice, especially the ones to make my code cleaner. :) Thanks a lot.

Community feedback

@ssembatya-dennis

Posted

Hi Davut Piro, I congratulate you upon completing your second challenge on the platform however have noticed your solution doesn't render well on small mobile media screen.

  • Here are some tips I suggest that can make your code cleaner.
  1. You can try using the CSS background-blend-property in the <div class="img"></div> container to blend the image and your gradient smoothly.
  2. You can also minimize the use of unnecessary div's in your HTML by replacing them with <p></p>tags as they are the sematic tags responsible for holding small text and only use a div in areas where you want to position some content in a specific position or to improve on space around your content.
<div class="numbers">
           <div class="companies"><span class="num">10k+</span> companies</div>
           <div class="templates"><span class="num">314</span> templates</div>
           <div class="queries">
             <span class="num num3">12m+</span> queries
           </div>

Thanks you so much and wish you happy coding!

Marked as helpful

0

Please log in to post a comment

Log in with GitHub
Discord logo

Join 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