Skip to content

Latest commit

 

History

History
53 lines (36 loc) · 1.64 KB

README.md

File metadata and controls

53 lines (36 loc) · 1.64 KB

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.

Design preview for the Todo app coding challenge

Table of contents

Overview

Links

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

My process

Built with

  • Semantic HTML5 markup
  • BEM
  • SASS
  • JavaScript
  • LocalStorage
  • SortableJS

Highlights / Features

  • I used SortableJS library for drag and drop to reorder list. I disabled the sortable when options ‘Active’ or ‘Completed’ are selected.
  • Theme and list tasks are stored in Local Storage. It was my first time using it and I had some troubles with the script when todo list was empty. Finally, I think I made it work.