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

Blog Preview Card with Next.js, Tailwind CSS, CSS Module, BEM

JaceLee 240

@jaceleedev

Desktop design screenshot for the Blog preview card coding challenge

This is a solution for...

  • HTML
  • CSS
1newbie
View challenge

Design comparison


SolutionDesign

Solution retrospective


What are you most proud of, and what would you do differently next time?

During this project, I enhanced my skills in using Next.js and Tailwind CSS. I learned how to effectively combine CSS Modules with Tailwind CSS for scoped and utility-first styling. I also gained a better understanding of semantic HTML and web accessibility practices. This project represents my solution to the ongoing debate about how to effectively use and manage CSS in modern web development. By integrating Tailwind CSS with CSS Modules and employing the BEM methodology, I have developed a structured approach to styling components. This method allows for scalable, maintainable, and highly readable code. Next time, I would focus more on optimizing the performance of the application by incorporating lazy loading and further refining the responsive design for various screen sizes.

What challenges did you encounter, and how did you overcome them?

One of the significant challenges I encountered was managing the complexity of combining Tailwind CSS with CSS Modules. Initially, it was confusing to determine when to use utility classes versus custom CSS rules. To overcome this, I spent time studying the best practices and examples from the Tailwind CSS and Next.js communities. Another challenge was ensuring accessibility and semantic HTML compliance. I used various tools and resources, such as WAVE and Lighthouse, to identify and fix accessibility issues, enhancing the user experience for all users.

What specific areas of your project would you like help with?

The screenshot may look slightly different from the design, but if you visit the site, you can see that it is cleanly completed as per the design. I'm not sure how to resolve this issue. 🤣

I would greatly appreciate any detailed feedback or resources on my project topics.

Community feedback

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