Skip to content
  • Learning paths
  • Challenges
  • Solutions
  • Articles
  • Unlock Pro
  • Log in with GitHub
Solution
Submitted 10 months ago

Todo app using React

react
Jason•40
@JJenk89
A solution to the Todo app challenge
View live sitePreview (opens in new tab)View codeCode (opens in new tab)

Solution retrospective


What are you most proud of, and what would you do differently next time?

I'm definitely proud of completing my first ever app!

It taught me a lot about:

  • State and state management in React
  • UseEffect and local storage
  • Deploying an app on github through the CLI
  • Basic git branching and merging in order to implement different features
  • Creating a dark and light theme
  • Adding functionality across and displaying different states
  • Getting a working app off the ground
  • Solving bugs

I think my next project will definitely be better planned as I now have a much better idea of the above concepts and how they fit together. I would also plan out a better approach to styling with themes as I'm not happy with how I implemented the dark mode. It feels hackish and I'm sure there's a more elegant solution!

What challenges did you encounter, and how did you overcome them?

There were many challenges along the way. Mostly, these were related the logic of the app and implementing filtering, drag and drop without any libraries and solving bugs in the code. I tackled each problem one at a time, googling the problems and trying different solutions. I also found it gave me a much better insight into Javascript arrays and I discovered a lot of great information as a result.

What specific areas of your project would you like help with?

I'm very unhappy with my implementation of the dark mode, so I would appreciate any alternative solutions which are less hacky.

I also have a feeling that the way I've implemented the state of the todo list (using and rendering 3 separate arrays) might be overly complicated and there could be a more elegant solution.

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 Jason'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
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