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, Tailwind CSS, Javascript

scurlly 80

@scurlly

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 are you most proud of, and what would you do differently next time?

I'm proud that I could finish this challenge and also that I learned a new skill while doing it.

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

Since this was my first time using Tailwind CSS on an actual project that had to be pixel perfect and same as the design, I struggled to find the particular classes that Tailwind CSS uses. Later I installed the Tailwind CSS intellisense that made things much easier and faster.

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

I would like to know how to approach a design when the requirements for mobile and desktop view are different. In the above challenge the share section design for mobile and desktop are very different in terms of how they appear when the share button is clicked. As you can see in my code I have gone around this by creating seperate section for mobile and desktop and hidden them respectively. This was very tedious to do and I think there will be a much better approach to do this. It would be very helpful to receive some feedback on this. Thanks.

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