Skip to content
  • Unlock Pro
  • Log in with GitHub
Solution
Submitted over 1 year ago

Pricing Component w/ Toggle - HTML/CSS/React/TailwindCSS

react, tailwind-css
Grey•100
@E-code804
A solution to the Pricing component with toggle challenge
View live sitePreview (opens in new tab)View codeCode (opens in new tab)

Solution retrospective


What are you most proud of, and what would you do differently next time?

I am most proud of how smooth I was able to get the layout to look and behave. The responsiveness works as one would expect and everything looks as it should. Next time I would be sure to research how to do something like making the professional plan longer than the rest - I initially thought it'd be more complex than my final solution ended up to be.

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

I had some challenges with getting everything working in github pages correctly and getting the background to function. I realized that for gh-pages, you need to specify an absolute path in regards to using images from the public directory in my css. For the background, I researched on google a lot to solve this.

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

The background doesn't expand all the way down to the bottom of the window's height exceeds a certain point, so pointers on that would be amazing!

Code
Loading...

Please log in to post a comment

Log in with GitHub

Community feedback

No feedback yet. Be the first to give feedback on Grey's solution.

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

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

Frontend Mentor

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

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