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.
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
- Solution URL: Solution
- Live Site URL: live site here
- Semantic HTML5 markup
- CSS custom properties
- Flexbox
- CSS Grid
- Mobile-first workflow
- React - JS library
- Tailwind - For styles
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) : [];
});
- Implement diferents frameworks to work with.
- Example resource 1 - This help me to improve and use the theme depending of the OS.
- Example resource 2 -This Course help me to understand More better Typescript and the syntaxis
- Website - Cesar Valencia
- Frontend Mentor - @cesarvalencia
- X - @cvalenciaaguilar