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

All comments

  • @alihaghjou

    Submitted

    Hello everyone, i have a question about active state of this challenge. For buttons active state background color only had one color but in previews there is a gradient background, i could have done it with filter but it didn't become correct. If you guys know the correct color can you say or another solution?

    frbarbre 660

    @frbarbre

    Posted

    Hey! Your project looks great imo!

    To answer your question; Tailwind supports the use of gradients:

    Tailwind Docs: https://tailwindcss.com/docs/gradient-color-stops

    That's what i used in my solution of the challenge.

    Direct link to the styling of the button: https://github.com/frbarbre/newsletter/blob/master/src/components/Button.jsx

    Marked as helpful

    0
  • frbarbre 660

    @frbarbre

    Posted

    Generally you don't wanna play with specific margins to center something on your website. You should instead use either grid or flex to center your design. W3School.com has some great resources you can learn from!

    But overall your site looks great!

    Happy Coding

    1