Skip to content
  • Learning paths
  • Challenges
  • Solutions
  • Articles
  • Unlock Pro
  • Log in with GitHub
Solution
Submitted over 3 years ago

E-commerce product page built with React

react
Orkhai Dickson•320
@orkhai
A solution to the E-commerce product page challenge
View live sitePreview (opens in new tab)View codeCode (opens in new tab)

Solution retrospective


Would love to get feedback on how I could improve on my React.

Code
Select a file

Please log in to post a comment

Log in with GitHub

Community feedback

  • Mojtaba Mosavi•3,740
    @MojtabaMosavi
    Posted over 3 years ago

    1- One of main ideas is react is to break down a UI into resuable components which once composed make the UI. The question one might ask is what is the advantages do we gain be defining resuable components ?

    Let's use an example from you solution to clarify this, the product thumbnails is perfect candidate because suppose when you add a new sneaker to you store you don't need to rewrite all the markup you only resue the one you already have. You create a temple for the thumbnail that can adpot to any four images the you pass to it through props.

    Keep coding :=)

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
Frontend Mentor logo

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