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

Tailwind + TypeScript + React.js + Redux Toolkit | Todo App

react, redux-toolkit, tailwind-css, typescript
Better5afe•850
@better5afe
A solution to the Todo app challenge
View live sitePreview (opens in new tab)View codeCode (opens in new tab)

Solution retrospective


Hi All,

The users are able to:

  • Add new todos - if they try to submit an empty form, they will receive an error.
  • See already added todos after reloading the page - they are storoed within the localStorage.
  • Mark todos completed and then make them active again.
  • Delete single todos.
  • Delete all of the compeleted todos in a bulk.
  • See how much items they have left/completed.
  • Filter between all todos, active todos and complete todos.
  • Drag and drop the todos to reorder the list.
  • Toggle between light and dark mode - initial mode is set up based on the user's preferences.
  • See hover and focus states for all interactive elements on the page.
  • View the optimal layout for the app depending on their device's screen size.

I used Tailwind for styling, form validity is checked with a custom hook and the overall state management is handled via Redux Toolkit. Drag and drop events were done using React Beautiful DnD library.

Happy Coding 🎃

Code
Select a file

Please log in to post a comment

Log in with GitHub

Community feedback

No feedback yet. Be the first to give feedback on Better5afe'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