Skip to content

GHamza-Dev/react-todo-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Frontend Mentor - Todo app solution

This is a solution to the Todo app challenge on Frontend Mentor.

Yep here is my first project using React, and I am happy with it. I have not covered a lot in React, but I decided to implement what I had learned first then move on to learn new things.

Table of contents

Overview

The challenge

Users should be able to:

  • View the optimal layout for the app depending on their device's screen size
  • See hover states for all interactive elements on the page
  • Add new todos to the list
  • Mark todos as complete
  • Delete todos from the list
  • Filter by all/active/complete todos
  • Clear all completed todos
  • Toggle light and dark mode
  • Bonus: Drag and drop to reorder items on the list

Screenshot

Links

My process

Built with

  • Semantic HTML5 markup
  • CSS custom properties
  • Flexbox
  • Mobile-first workflow
  • localStorage API
  • React - JS library

What I learned

  • Managing data (state property)
  • Updating state property (setState)
  • Passing data (props)
  • Handling events

What next?

  • Routing
  • axios
  • Redux
  • React Hooks
  • ...

Useful resources

Author