Skip to content

lightning-leap/react-todo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

React Todo List

The goal of this exercise is to create a working todo list with persistent data storage.

To start with, we have a styled todo list that supports adding todos. We also have premade styles for completed todo items. Although there's no working mechanism for "completing" a todo.

Requirements

  1. Clicking on a todo item should toggle the "checked" state.
  2. The todo list state should be saved and loaded from local storage.
  3. Checked items should sink to the bottom of the list automatically.
  4. Add a new component that will be used as a help modal. The modal should be a general component that can be reused, its properties should be content & title. The modal should have its own trigger button that opens it and tracks its own open/close state.

Stretch Goals

  1. Allow todos to be deleted. When you hover your mouse over a todo, an X should appear on the far right side, clicking the X should remove it from the list.
  2. Add hidden timestamps to todos (created_at, completed_at), these will be used for sorting
  • The active todos should be sorted by created_at descending
  • The completed todos should be sorted by completed_at ascending

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published