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

Responsive 4 Card Layout for 3 viewports, sm, md, lg using React

react
Rizwan Khan•130
@mdrizwanfk
A solution to the Four card feature section challenge
View live sitePreview (opens in new tab)View codeCode (opens in new tab)

Solution retrospective


First FEM Challenge using Reactjs Library.

The Card layout is done in React.

Reactjs Development toolchains used: None, just added React components to website

Challenges:

  1. Inability to modularize react code.
  2. TODO: Javascript modules to achieve 1.
  3. Used CSS Absolute positioning for the layout, would appreciate alternate best approaches for the Card layout.
  4. TODO: Try out CSS Grid for Card layout.

Notes:

  1. Use Industry standard React Toolchains for future challenges. :)
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 Rizwan Khan'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