This is a website for a simple to do list, where you can add and remove tasks, edit and reorder them as you see fit.

Overview

To-Do-List

This is a website for a simple to do list, where you can do the following:

  • Add the tasks you want to do.
  • Remove any tasks you finished already by checking the box next to each task you finished then using the clear all completed button.
  • Edit any tasks you want.
  • Reorder the tasks to what suits you.

screenshot

Live Demo

Live Demo Link

Features implemented so far are:

  • Add task.
  • Remove task.
  • Edit task.
  • Clear all completed tasks.
  • Clear all tasks
  • Reorder tasks.

Built With

  • HTML
  • CSS
  • SCSS
  • Webhint
  • Stylelint
  • ESlint
  • Webpack
  • ES6

Prerequisites

The basic requirements for building the executable are:

  • A browser application
  • A code editor
  • Node Package Manager to install the packages necessary for the project

Getting Started

Cloning the project

git clone  https://github.com/mirouhml/To-Do-list <Your-Build-Directory>

Getting packages installed

npm install

Running the website locally

npm run build
npm start

Author

👤 Mirouhml

🤝 Contributing

Contributions, issues, and feature requests are welcome!

Feel free to check the issues page.

Show your support

Give a ⭐️ if you like this project!

📝 License

This project is MIT licensed.

Comments
  • Testing with jest

    Testing with jest

    Testing Edit / Update status / and Clear all completed functionalities

    In this milestone created multiple tests for:

    • the function for editing the task description.

    • the function for updating an item's 'completed' status.

    • the "Clear all completed" function.

    • the function for inserting items in the dom

    • used describe() to group tests.

    opened by Elerqsousy 2
  • Peer review module2 week 3.

    Peer review module2 week 3.

    • Checking if the input is valid - no empty string or whitespaces should be added as tasks for improving the UX
    • You can split long running functions into multiple small helper functions
    opened by mwafrika 1
  • To Do list: interactive list

    To Do list: interactive list

    • Add a new JavaScript file "taskUpdater.js" and import it as a module, this file contain methods related to the status updates (completed: true / false).
    • Add event listener to the checkbox (change).
    • Update items object's value for completed key upon user actions.
    • Implement a function for the "Clear all completed" button (using filter() method).
    • Store the updated array of items in local storage, so the user gets the correct list values after the page reloads.
    opened by mirouhml 1
  • To Do list: add & remove

    To Do list: add & remove

    • Remove all hardcoded items from the tasks array.
    • Create a new JavaScript file for the new functionality.
    • Implement a function for adding a new task (add a new element to the array).
    • Implement a function for deleting a task (remove an element from the array).
    • Implement a function for editing task descriptions.
    • Update all remaining items' indexes when deleting a task, so that they represent the current list order and are unique.
    • Save all changes of the To Do List in local storage.
    opened by mirouhml 1
  • To Do list: list structure

    To Do list: list structure

    • Use Webpack to set up the project.
    • Use ES6 modules to implement the functions required for the project.
    • Create a function to iterate over the tasks array and populate an HTML list item element for each task.
    • Render the dynamically created list of tasks in the dedicated placeholder on page load.
    • Reorder the list based on the index values for each task.
    opened by mirouhml 0
  • Users can submit empty tasks

    Users can submit empty tasks

    Hello Ammar. I stumbled on your profile while going through discourse conversations on how to deploy projects built with webpack.

    While using your app, I noticed that when users submit an empty entry it still goes into the task list and I think it would be best to prevent this, what do you think?

    sc attached: image

    Another thing I noticed is that, when some items have been marked as complete and a user adds a new item to the list, the completed items are restored back to the default state.

    opened by deyemiobaa 0
  • Javascript best practices check

    Javascript best practices check

    1. In taskDrag.js:
    draggables.forEach((draggable) => {
        draggable.addEventListener('dragstart', () => {
          draggable.classList.add('dragging');
        });
    
        draggable.addEventListener('dragend', () => {
          draggable.classList.remove('dragging');
        });
    });
    draggables.forEach((draggable) => {
        draggable.removeEventListener('dragstart', () => {
          draggable.classList.add('dragging');
        });
    
        draggable.removeEventListener('dragend', () => {
          draggable.classList.remove('dragging');
        });
    });
    

    It's better to keep the code DRY by using a function for draggable.classList.add('dragging'); and draggable.classList.remove('dragging'); since they got repeated twice.

    opened by mirouhml 0
Owner
Ammar Hamlaoui
Software Engineer & Full-Stack Web Developer | Android and Java | JavaScript | Git | SQL, currently looking for opportunities.
Ammar Hamlaoui
A simple JS To Do List bundled using Webpack. You can add new tasks, edit existing tasks, check completed tasks, and delete tasks from the list. It is built mainly with Javascript.

To-Do-List A simple HTML list of To Do built using webpack and served by a webpack dev server. Live Link See Demo Built With HTML, CSS, Javascript To

Michael Ugochukwu 3 May 10, 2022
This is a Webpack based to-do-list project. With this app, users can add thier daily routine tasks to the list, mark them as complet, edit them or delete them.

To Do List This is a Webpack based to-do-list project. With this app, users can add thier daily routine tasks to the list, mark them as complet, edit

Ali Aqa Atayee 12 Oct 30, 2022
Aron 8 Dec 17, 2022
A simple To-Do List app built using JavaScript, where users can add, edit and remove tasks from the list as well as marking them as completed.

To-Do List This is a to-do list application. Built With Languages: HTML5 & CSS3 JavaScript Preprocessors: Sass Technologies: Webpack Conventions and M

Gabriel Santo 3 Jun 25, 2022
A Minimalist to do list website where user can add, remove and edit multiple tasks and All the changes user makes in his to do list is saved in browser local storage so that it can be accessed later.

Testing for Add Remove function in To Do List App Jest framework is used for testing. Created (addremove.test.js) for a file containing the add item a

Krishna Prasad Acharya 8 Aug 15, 2022
This is a To-Do List. It shows a minimalist design with the next features: Add new tasks, edit tasks, markup completed tasks, and erase all completed tasks. Built with JavaScript.

Project Name To Do List Built With HTML CSS JavaScript Live Demo To do List Live Demo Link Getting Started This is a To Do List. It shows a minimalist

Santiago Cárdenas 6 Jun 9, 2022
Simple To-do list build using HTML5, CSS3, JavaScript and Webpack. You can add new tasks, remove and edit them.

Simple To-do list build using HTML5, CSS3, JavaScript and Webpack. You can add new tasks, remove and edit them.

Esteban Munoz 6 Mar 5, 2022
A simple to do list app built with HTML, CSS and JavaScript. Users can add daily tasks, edit the tasks, delete the tasks when it's done

To Do List This is a website that allows users to manage the tasks. users can add every task to do and when the task is done users can delete the task

Mustafa Fahimy 8 Jul 21, 2022
An interactive list of tasks where you can add, remove, edit, mark as completed and clear all done tasks. Tested with Jest.

To do List This project its an interactive list of task where you can add and remove tasks dinamically Project Images Add new Tasks Edit Existing Task

Alex Puente 7 Nov 9, 2022
This is a simple web application of a To-do List in which you can add, remove and edit all your tasks and also you can mark each task as completed and delete all completed ones.

To-Do List A simple web application of a to do list Built With HTML, CSS, JS, ES6 & Webpack Getting Started In this repository I created To-Do List SP

Juan Sebastian Sotomayor 12 Apr 11, 2022
To-Do List project is the application for a to-do list, users can add and remove tasks from the to-do list. Mark tasks as completed.

To Do App To-Do List project is the application for a to-do list, users can add and remove tasks from the to-do list. Mark tasks as completed. Users c

Ishpaul Singh 6 Jul 21, 2022
DoMe is a ToDo App. you can add, delete and reorder elements of the todo list using drag and drop. You can also toggle between dark&light mode

DO ME Todo App Live Preview : DO ME Built With : - ReactJS - TailwindCSS Make sure you have: - Git - Nodejs version 14 or higher (we recommend using

Medjahdi Islem 5 Nov 18, 2022
The awesomebooks project is a simple list, but separated into 3 parts and given a retro feel. The main page is where we can add books, and on another page we can see the list, and remove items. There is also a "contact-us" page.

Awesome Books This is the restructured version of the famous awesome-books project! Here you can find JavaScript broken into modules, using import-exp

Matt Gombos 12 Nov 15, 2022
The website which can help you to organize your daily or weekly activities and review them when you need them. you can add, remove and delete an activity

To Do list To do project is webpack project that list activities someone can do at a specific time In this TO-DO list, you can add or remove you activ

Joffrey NKESHIMANA 5 Jul 21, 2022
A to-do list Web application that lets the user add, remove and reorder to do lists and checks a task when completed with a button to delete all completed task

TO DO LISTS A Web application that lets the user add, remove and reorder to do lists Built With Html,JS,CSS Webpack and other dependencies Git, Github

Promise Okechukwu 14 Nov 1, 2022
To Do list is a small but useful project to make list app , you can add tasks delete tasks and modify tasks, the project built using HTML, CSS, JavaScript

Project Name The To-Do-List app description this is a project in the second week of the second module in microverse. its a useful to do list that save

Alzubair Alqaraghuli 5 Jul 25, 2022