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

Responsive landing page using Tailwind css

Ulises 150

@Ulise22

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


This is the first project i do using Tailwind, so any feedback or advice to improve will be appreciated

Community feedback

@0xabdulkhaliq

Posted

Hello there 👋. Congratulations on successfully completing the challenge! 🎉

  • I have other recommendations regarding your code that I believe will be of great interest to you.

HEADER iMAGE 📸:

  • Looks like the img and has been set disorted by width and height, let me explain How you can easily rectify the issue
  • Since you are using Tailwind CSS, we can easily rectify it just add the following css utility class object-cover to the img element, and then experience the changes
<img src="./images/image-header-desktop.jpg" class="object-cover hidden lg:block lg:h-full rounded-r-xl">
  • Note: the class object-cover is important to rectify the disortion of image in desktop view
  • Tip, Don't forget to generate a new screenshot after editing the css file

.

I hope you find this helpful 😄 Above all, the solution you submitted is great !

Happy coding!

Marked as helpful

2

Ulises 150

@Ulise22

Posted

@0xAbdulKhalid I've already applied what you said and it really help, thank you so much!😁

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