A to-do list website task by (@microverseinc), you can easily manage your daily tasks

Overview

To DO list

Is a website to manage daily tasks

Built With

  • HTML,CSS,JS
  • webpack

Live Demo (if available)

Live Demo Link

Getting Started

This is an example of how you may give instructions on setting up your project locally. Modify this file to match your project, remove sections that don't apply. For example: delete the testing section if the currect project doesn't require testing.

To get a local copy up and running follow these simple example steps.

Prerequisites

  • node and npm installed

Setup

  • clone the repo.
  • run npm i to install packages.

Install

  • run npm start

Authors

👤 yosefHesham

Contributers

👤 bizibPascal

🤝 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!

Acknowledgments

  • Hat tip to anyone whose code was used
  • Hat tip to my contributer @bizip
  • Inspiration
  • etc

📝 License

This project is MIT licensed.

Comments
  • To do list edit task

    To do list edit task

    Hi @yosefHesham We appreciate how your code is clean and how you managed to refactor the JavaScript files.

    • We suggest you can fix edit and delete button because is not working (functioning) correctly.
    opened by Ghilain 0
  • Testing part2

    Testing part2

    What does this PR do?

    • Add tests for editing items and editing the status of the item

    Description of Task to be completed

    • All tasks related to deployment are completed

    Changes Made:

    • Installed jest and configured it with es6 modules
    • Add a test suite for an editing todo item
    • Add a test suite for editing the status of the todo item

    How should this be manually tested?

    1. Clone this repository and switch to testing-part2
    2. Install all required dependencies npm install
    3. Run npm test
    opened by bizip 0
  • Testing part1

    Testing part1

    What does this PR do?

    • Add tests for adding and removing list item functions

    Description of Task to be completed

    • All tasks related to deployment are completed

    Changes Made:

    • Installed jest and configured it with es6 modules
    • Add test suite for adding todo
    • Add test suite for removing todo

    How should this be manually tested?

    1. Clone this repository and switch to testing-part1
    2. Install all required dependencies npm install
    3. Run npm test
    opened by bizip 0
  • Delete button is not functioning well

    Delete button is not functioning well

    Hi @yosefHesham, We appreciate how your code is clean and how you managed to refactor the javascript file into different files however I have seen that the delete button is not functioning correctly. we suggest that you kindly fix that, otherwise you did a great job.

    opened by bizip 0
  • Refactor UI updating

    Refactor UI updating

    Brief of What Changed:

    I figured out another way of updating UI, instead of re-rendering the list after every modification.


    Changes Made:

    • In the add method, I add all needed event listeners to each new item before I append it to the DOM.
    • Created configureNewAddedItem module.
    • Created a getElement module.
    • Created a module for event listeners.
    • In the delete, I am not depending on the class of the element anymore, I use the index of the current child node from the list:

    more on that :arrow_double_down: const list = document.querySelector('.list'); const arrayNodes = Array.from(list.childNodes); removeToDo(arrayNodes.indexOf(parent) + 1);

    by that, I managed to stop the headache of re-rendering the items and adding a loop through them every time to add event listeners, and the code is more clean.

    opened by yosefHesham 0
  • Violation of DRY

    Violation of DRY

    https://github.com/yosefHesham/todo-list/blob/f2865511d23bc6459f44256e8cff63b109d1bff8/modules/change_status.js#L3

    https://github.com/yosefHesham/todo-list/blob/f2865511d23bc6459f44256e8cff63b109d1bff8/modules/change_status.js#L21

    In the above functions, you are repeating the same logic:

    https://github.com/yosefHesham/todo-list/blob/f2865511d23bc6459f44256e8cff63b109d1bff8/modules/change_status.js#L25-L32

    it's better to separate that block of code inside another function to avoid repetition.

    opened by yosefHesham 0
  • Js best practice violation

    Js best practice violation

    https://github.com/yosefHesham/todo-list/blob/f2865511d23bc6459f44256e8cff63b109d1bff8/modules/todo-controller.js#L43-L48

    its best to execute only one thing in the function, so its better to execute that loop into another function and call it .

    opened by yosefHesham 0
  • Add remove

    Add remove

    Brief of what changed

    Added the functionality to add, remove and edit tasks.


    Changes Made:

    • Create a todo class to manage the logic.
    • Saved todos in local storage.
    • Created to do item class.
    opened by yosefHesham 0
  • List structure

    List structure

    Brief of what changed

    Created to-do list UI with an array of objects.


    Changes Made:

    • Create render function with js.
    • Create an array with todo items.
    • Create text input to add items
    opened by yosefHesham 0
Owner
Yousef Hesham
Full-stack developer at @microverseinc with previous experience building mobile apps using flutter, and solving problems with c++, looking for a job opportunity
Yousef Hesham
zieeco 12 Jul 8, 2022
This is a Microverse (@microverseinc) project in which I created a To-do list using Webpack. User can add a task, delete it, edit its description, and clear the completed tasks.

Microverse To-Do list This is a Microverse (@microverseinc) project in which I created a To-do list using webpack. Requirements Build a Todo list usin

Manel Hammouche 11 Aug 3, 2022
Satyam Sharma 3 Jul 8, 2022
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
In this project I have build a To Do List app that you can list, add, delete and manage your daily tasks better. Build with HTML, CSS, JS, ES6, JSON

ToDo List This project is build by javascript web packages which can add and remove daily tasks. Built With Html Css Javascript Sublime Text Author ??

Sahar Saba Amiri 7 Oct 25, 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
Grayce Muthui 8 Jun 16, 2022
A to-do-list project is about keeping the track of all the daily task. This application can add move or delete task.

TO-DO LIST This is a project that create a simple todo tool that help you organize your day. This is build using ES6 and webpack. Built With HTML CSS

suzana marsela 8 Oct 26, 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
This "To-do-list" app is a simple web application that displays a list of task and allows you to add and remove task from that list. it is built with the latest technology namely; JavaScript with webpack Configuration.

To-do-list "To-do-list" is a simple web application that displays a list of task and allows you to add and remove task from that list. Built With HTML

Aniekan udo 10 Nov 21, 2022
This "To-do-list" app is a simple web application that displays a list of task and allows you to add and remove task from that list

This "To-do-list" app is a simple web application that displays a list of task and allows you to add and remove task from that list. it is built with the latest technology including but not limited to HTML, CSS, JavaScript and webpack to manipulate DOM.

Jerry Owusu 2 Feb 19, 2022
"To Do List" is a minimalist project that displays a list of task and allows you to add and remove task from that list. Built with JavaScript

To Do List Structure Solo programming project for module 2 week 2 of the Microverse Program. Live Demo Live Demo Link "To Do List" is a minimalist pro

Yersel Hurtado 7 Mar 5, 2022
Richard Chileya 5 Nov 11, 2022
JOSE ZEPEDA 10 Nov 18, 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
A daily activity tracking application that helps to organize your daily tasks and keep track of tasks that have been completed, or yet to be completed.

To-Do-List This is my To-Do List project in the Microverse curriculum. Built With HTML CSS Javascript (Webpack) GitHub Live Demo Live Demo Link Gettin

Hammed Adisa 8 May 7, 2022