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 preview card component solution

@upovibe

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


Stats preview card component👨🏽‍💻

Technologies used 🚀✨

  • HTML🏗
  • CSS️🎨

Features 🎯

  • Semantic Arrangement✨
  • Dynamic Animations🎭
  • Prettier Arrangement🌈

You can check me out

Ready to tag along on my coding escapades? Join my adventure, where I challenge projects here.

🌌 Feel free to add your opinion about any possible improvements to the code and accessibility. 🙃

Community feedback

Daniel 🛸 44,230

@danielmrz-dev

Posted

Hey @iamupo!

Your project looks great!

I also had a hard time trying the image coloring when I did this project, but I managed to do it like this:

.image {
    background-image: linear-gradient(0deg, #7210af9c, #7210af9c), url('images/image-header-mobile.jpg');
    background-size: cover;
    height: 240px;
}

There's also another option using a property called background-blend-mode, but I confess I don't know how to use it very well. I'm mentioning it because you might wanna look into it. 😊

Hope it helps!

Other than that, your project looks fantastic!

1

@petritnuredini

Posted

Congratulations on completing your project! 🎉

Here are some recommendations for improvement:

  1. HTML Structure:

    • Use semantic HTML elements like <header>, <section>, and <footer> for better accessibility and structure. This enhances the readability and maintainability of your code. Learn more about HTML semantics.
  2. CSS Styling:

    • Optimize your CSS by grouping selectors and avoiding unnecessary repetition. Consider using a CSS preprocessor like Sass for easier maintenance and organization. Learn about CSS preprocessors.
  3. Responsive Design:

    • Ensure your design is fully responsive across various devices. Test your layout on different screen sizes and use media queries effectively to adapt the styling accordingly. Learn about responsive design principles.
  4. Accessibility:

    • Include descriptive alt attributes for images and ensure proper color contrast for text elements to improve accessibility. This ensures a better user experience for all users. Learn about web accessibility.

Keep up the fantastic work! Your dedication to improving your skills is commendable. Remember, every project is an opportunity to learn and grow as a developer. Keep challenging yourself and exploring new techniques. You're on the right path! 💪

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