Skip to content
  • Unlock Pro
  • Log in with GitHub
Profile
OverviewSolutions
2
Comments
1
Piyush Paliwal
@piyushpaliwal

All comments

  • Ricky Reza•40
    @rickyreza12
    Submitted over 2 years ago

    Result Summary Component using Tailwind CSS

    #tailwind-css
    2
    Piyush Paliwal•40
    @piyushpaliwal
    Posted over 2 years ago

    Great work there! I was just going through your code and here are a few observations I have.

    • Used color hex codes directly inline (ex - Line 47).
      • This will make your code less maintenable, instead you can define a tailwind.config object on your script tag and add all colors there so that you can reference them back in your code. See here for details
    • While utilizing Tailwind, it is one of the best practices to have classes sorted out as recommended by the devs, see here. As of now it is difficult to find a class in your project because of the order.
    Marked as helpful

Stay up to datewith new challenges, featured solutions, selected articles, and our latest news

Frontend Mentor

  • Unlock Pro
  • Contact us
  • FAQs
  • Become a partner

Explore

  • Learning paths
  • Challenges
  • Solutions
  • Articles

Community

  • Discord
  • Guidelines

For companies

  • Hire developers
  • Train developers
© Frontend Mentor 2019 - 2025
  • Terms
  • Cookie Policy
  • Privacy Policy
  • License

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub