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

Redux Toolkit

bem, react, redux-toolkit, fetch
Bryan Sanchez•590
@0-BSCode
A solution to the URL shortening API landing page challenge
View live sitePreview (opens in new tab)View codeCode (opens in new tab)

Solution retrospective


Had a lot of fun with this one! I initially thought of adding a backend component by having user login and authentication, but thought of submitting the solution once the frontend was ready. I learned a lot with this project, especially about redux toolkit, but I still have some things I'm confused about.

  1. How can I organize a component if its mobile design and desktop design are completely different from each other? What I usually do is create separate components, one for the desktop design and one for the mobile design, but I'm not sure if it's good practice.
  2. The challenge provides svg files for the different social media site logos and it requires these logos to change color on hover. For example, the given Facebook logo has a white fill but needs to be cyan on hover. The way I accomplished this as of now is by creating a copy of each logo and changing the fills within each svg. Is this good practice and, if not, what's a better way of accomplishing this?

Any and all feedback is greatly appreciated! Cheers🎉

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 Bryan Sanchez'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