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

Article Preview Component | HTML / JS / Tailwind CSS

P

@lauraamiaa

Desktop design screenshot for the Article preview component coding challenge

This is a solution for...

  • HTML
  • CSS
  • JS
1newbie
View challenge

Design comparison


SolutionDesign

Solution retrospective


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

This is my first time using Tailwind CSS, so it took some time to adjust to using utility classes instead of a traditional stylesheet. In my previous projects, I was accustomed to writing descriptive class names, but with Tailwind, I only used its predefined classes. For simple elements with minimal styling, readability is straightforward. However, when dealing with elements that have multiple states (e.g., hover) or pseudo-elements (e.g., after), the class names can become quite long. This can make it a bit challenging to decide on the best structure to ensure flexibility for future adjustments.

Community feedback

@gopaladhikari

Posted

This is one of the most accurate I have seen in Frontend Mentor, It's very very close to original design

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