A to do list where you can add tasks, mark completed tasks and clear all completed tasks.

Overview

To Do List

A to do list where you can add tasks, mark completed tasks and clear all completed tasks. You can rearrange the order of the tasks by double clicking the task then dragging it to the desired location. You can also edit a task's description by clicking on the three vertical dots to its right. Built using webpack bundle of Javascript Screenshot from 2022-02-17 18-41-48

Built With

  • HTML5
  • CSS3
  • JavaScript ES6
  • Wepback

Live demo

You can visit live version via link

Getting Started

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

  • Open Terminal.
  • Change the current working directory to the location you want the cloned directory.
  • Enter the following:
$ git clone [email protected]:amiraabouhadid/to-do-list.git.
  • Press Enter to create your local clone.

  • Navigate to the cloned repository by running:

    $ cd to-do-list
    
  • Install all dependencies using:

    $ npm install
    
  • Run local server using:

    $ npm run build
    $ npm start
    
  • Run unit tests using:

    $ npm run test
    
    

Prerequisites

  • GitHub
  • Git
  • Node.js

Authors

👤 Amira Abouhadid

Contributors

Contributions, issues, and feature requests are welcome!

Feel free to check the issues page.

Show your support

Give a ⭐️ if you like my portfolio!

📝 License

Comments
  • Testing To Do list: part 2

    Testing To Do list: part 2

    Description

    In this project, a tasks list structure was generated using javascript bundledthrough webpack.

    General requirements

    • [x] There are no linter errors.
    • [x] Followed the Github flow.
    • [x] The documentation is professional.

    HTML/CSS/JS requirements

    Project requirements

    • Use jest framework for testing.
    • Create a test file(s) ([..].test.js) for a file(s) containing the following functions:
    • a function for editing the task description.
    • a function for updating an item's 'completed' status.
    • the "Clear all completed" function.
    • Use the mock storage object you have created in Part 1 of this project to mock the localStorage updates.
    • Mock the HTML elements to test DOM manipulation functions.
    • Make sure you group your tests using the description() method.

    Thank you for taking the time to review this pull request.

    opened by amiraabouhadid 1
  • Testing To Do list: part 1

    Testing To Do list: part 1

    Description

    In this project, a tasks list structure was generated using javascript bundledthrough webpack.

    General requirements

    • [x] There are no linter errors.
    • [x] Followed the Github flow.
    • [x] The documentation is professional.

    HTML/CSS/JS requirements

    Project requirements

    • This is a pair-programming project. Please decide whose project will you use for testing.
    • Use jest framework for testing.
    • Create a test file ([..].test.js) for a file containing the add item and delete item functions that you want to test.
    • Take a look at each of these functions. Are they pure functions? If the answer is "yes" then writing tests for them should be straightforward. Some of those functions however will update localStorage and manipulate the DOM. For those, you will need to use mocks:
    • Mock a storage object to "imitate" localStorage operations (only if you are using jest < 24.x, in newer versions localStorage is mocked automatically).
    • Mock HTML to test if add/delete functions add or remove exactly one
    • element to/from the list in the DOM.
    • Make sure you group your tests using the describe() method.

    Thank you for taking the time to review this pull request.

    opened by amiraabouhadid 1
  • Code Review : To Do list: list structure

    Code Review : To Do list: list structure

    Description

    In this project, a tasks list structure was generated using javascript bundledthrough webpack.

    General requirements

    • [x] There are no linter errors.
    • [x] Followed the Github flow.
    • [x] The documentation is professional.

    HTML/CSS/JS requirements

    Project requirements

    • Use webpack to bundle Javascript
    • Create an index.html file and write your HTML markup here. Create an empty To Do List placeholder(
      or
        element). The index.html file must be set as a template using the HTML Webpack Plugin.
      • Create an index.js file and set an array of some simple to do tasks (array of objects).
      • Create task object that contains three keys: 1. description [string]. 2. completed [bool]. 3. index: [number].
      • Write a function to iterate over the tasks array and populate an HTML list item element for each task.
      • On page load render the dynamically created list of tasks in the dedicated placeholder. The list should appear in order of the index values for each task.
      • Create a style.css and set rules for the To Do List. CSS must be loaded by Webpack Style/CSS Loader.

      Thank you for taking the time to review this pull request.

    opened by amiraabouhadid 1
  • Code Review: To Do list: Interactive List

    Code Review: To Do list: Interactive List

    Description

    In this project, a tasks list structure was generated using javascript bundledthrough webpack.

    General requirements

    • [x] There are no linter errors.
    • [x] Followed the Github flow.
    • [x] The documentation is professional.

    HTML/CSS/JS requirements

    Project requirements

    • Add a new JavaScript file and import it as a module:
    • it will 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 (use filter() method).
    • Store the updated array of items in local storage, so the user gets the correct list values after the page reloads.

    Thank you for taking the time to review this pull request.

    opened by amiraabouhadid 0
  • Code Review: To Do list: add & remove

    Code Review: To Do list: add & remove

    Description

    In this project, a tasks list structure was generated using javascript bundledthrough webpack.

    General requirements

    • [x] There are no linter errors.
    • [x] Followed the Github flow.
    • [x] The documentation is professional.

    HTML/CSS/JS requirements

    Project requirements

    • 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.
    • By default new tasks should have the property completed set to false and the property index set to the value of the new array length (i.e. if you're adding a 5th task to the list, the index of that task should equal to 5).
    • Deleting a task should update all remaining items' indexes, so they represent the current list order and are unique.
    • All changes to the To Do List should be saved in local storage.

    Thank you for taking the time to review this pull request.

    opened by amiraabouhadid 0
  • Peer to Peer code review - M2(W3-D4)

    Peer to Peer code review - M2(W3-D4)

    • You did an amazing job. your code is clean and very organized. I have only one comment on your code. I think it is good to make your code modular. you put everything in Home.js. I think It is a good practice to create modules that do specific tasks. :+1:
    opened by zmekonnen251 0
  • Do I follow JavaScript best practices?

    Do I follow JavaScript best practices?

    Here is a list of issues found in my code:

    • I imbed logic in DOM manipulation functions in the Home module. These two should be separated.
    • There are unnecessary DOM manipulation scripts that would prove expensive for the browser to render.
    opened by amiraabouhadid 0
Owner
Amira
Chemical Engineer, Deep Learning Engineer, Full Stack Web, & Blockchain Developer. Open for new opportunities.
Amira
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
Grayce Muthui 8 Jun 16, 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
A Todo list app that allows the user to add tasks, delete, edit, chage, and clear all completed tasks. Built with JavaScript, CSS and Html.

To Do list: interactive list description: A todo list app that allow users to add new task, delete, edit, and clear all completed.Built with JavaScrip

IBRAHIM AHMAT 7 Aug 4, 2022
zieeco 12 Jul 8, 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
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
A simple todo list app that allows users to add, delete, edit, and clear all completed tasks, built with HTML, CSS, Javascript and webpack.

todo list In this website you will add books and also watch the lists of books. Built With HTML CSS JavaScript See Live click here Authors ?? HaaDiiii

Hamid Ali 10 Oct 7, 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
Microverse Module 02 Project: This is an educational project to make a TodoList web application, where the users can add new todo, remove todo, edit todo, mark todo as completed, and remove all completed todo. Built with Webpack

todo-list This project is about building a list of To Do tasks. Where you can save your daily activities and help in daily evaluation. Live demo you v

divine charlotte 25 Jan 3, 2023
To-Do list a web app for tracking personal progress through the day. Users can input a list of tasks and mark them as completed once they are done. Built with JavaScript and Webpack

To-do-List-Project To Do List Project Description. This project creates a simple HTML list of To Do tasks. It was built using webpack and served by a

Olawale Olapetan 7 Jul 8, 2022
An app to manage tasks. A user can add, delete and edit a task and mark it as completed, It uses simple GUI and relies on DOM manipulation in pure JS and using local storage.

An app to manage tasks. A user can add, delete and edit a task and mark it as completed, It uses simple GUI and relies on DOM manipulation in pure JS and using local storage.

KHITER Mohamed Achraf 6 Aug 20, 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
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