Skip to content

cvalencia1991/Todo-List-TypeScript-React

Repository files navigation

Frontend Mentor - Todo app solution

This is a solution to the Todo app challenge on Frontend Mentor. Frontend Mentor challenges help you improve your coding skills by building realistic projects.

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

screenshot

Links

My process

Built with

  • Semantic HTML5 markup
  • CSS custom properties
  • Flexbox
  • CSS Grid
  • Mobile-first workflow
  • React - JS library
  • Tailwind - For styles

What I learned

This line of code give me the idea on how implement LocalStorage to save the information in the browser

    const [tasks, setTasks] = useState<ITask[]>(()=>{
        const localTasks = localStorage.getItem("tasks");
        return localTasks ? JSON.parse(localTasks) : [];
    });

Continued development

  • Implement diferents frameworks to work with.

Useful resources

Author

About

This project implement Typescript with React for a Todo List and React Redux

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published