Skip to content
  • Unlock Pro
  • Log in with GitHub
Solution
Submitted over 3 years ago

Crowdfunding page in React and Chakra UI

chakra-ui, react
Karabo Sambo•240
@blaqbox-prime
A solution to the Crowdfunding product page challenge
View live sitePreview (opens in new tab)View codeCode (opens in new tab)

Solution retrospective


The give and take for using this library is that you can skip out almost entirely on writing any css files but, the code can feel heavy and crowded as you define the styles and states and media queries directly on the jsx component. I think it's just a matter of getting comfortable with spending more time cleaning the code and writing cleaner code as you go.

What would be the best practice for creating Media Queries using the useMediaQuery hook? I've had to repeat some code in certain areas and render based on the size of devices.

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 Karabo Sambo'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