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

Responsive multipage website using React and Tailwind CSS

react, react-router, tailwind-css, vite
Gabriel Ferrales•50
@Gabriel-Ferrales
A solution to the Audiophile e-commerce website challenge
View live sitePreview (opens in new tab)View codeCode (opens in new tab)

Solution retrospective


Something that i found somewhat difficult was to change the backgrounds based in the current size of the viewport, im not sure if my implementation using an event listener for the window resizing is optimal. You can find an example about it in the DetailsItem component. I tried to do it with tailwind pseudoclasses but it didn't work.

For the layout purposes i used only flexbox since i feel very comfortable with it, and almost never feel the need to use grid, i dont know if it is optimal, but i find myself always losing more time when using grid.

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 Gabriel Ferrales'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

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