Skip to content

Nabil-Y/ToDoList_V2

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

Note: Delete this note and update the table of contents based on what sections you keep.

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

Design preview for the Todo app coding challenge

Links

My process

Built with

  • LocalStorage
  • TypeScript
  • Sass
  • Sortable.js
  • Vite

What I learned

It was my first project with Typescript so I learned a lot doing it. I used a third party library for the drag and drop feature -> sortable.js

Problem is I started this project without a build tool so I couldn't export third party modules. So I chose Vite and it was fast to get the hang of it. First time using it too.

Also it was my first time using localstorage and creating a dark/light theme switcher that auto detects the user prefered settings, it was really interesting.

Also it will be my first projet deployed on Vercel so I will discover another new tool.

Continued development

I need more practice with TypeScript and build tools. I'm getting used to integration.

Author