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

Stats Card there is a moblie version!!!!! used flex and grid.

sm7654 160

@sm7654

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


For this project i learned "@media only screen and (max-width: )" technique .

This is my first time using this technique so i would like if you tell me what do you think about my work.

I also changed the colors of the elements and the text.

all feedback is wellcome!!

Community feedback

@VCarames

Posted

Hey there! 👋 Here are some suggestions to help improve your code:

Loving the colors. The dark background with a vivid color on the component.

  • You can reduce the amount of need to apply the image by using the Picture Element. This element will allow you to switch between images during different breakpoints.

Syntax:

  <picture>
    <source media="(min-width: )" srcset="">
    <img src="" alt="">
  </picture>

Source:

https://www.w3schools.com/html/html_images_picture.asp

https://web.dev/learn/design/picture-element/

  • The statistics section is a list of statistics, so it should be built using an Unordered List along with a List Items Element.

  • Implement a Mobile First approach 📱 > 🖥

With mobile devices being the predominant way that people view websites/content. It is more crucial than ever to ensure that your website/content looks presentable on all mobile devices. To achieve this, you start building your website/content for smaller screen first and then adjust your content for larger screens.

If you have any questions or need further clarification, let me know.

Happy Coding! 👻🎃

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