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.

Overview

Project Name : To-Do-list

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.

In this project, I will build a simple HTML list of To Do tasks. The list will be styled according to the specifications listed later in this lesson. This simple web page will be built using webpack and served by a webpack dev server.

Capstone intro

Built With

  • HTML
  • Basic CSS
  • JavaScript and ES6 syntax
  • Webpack
  • Linters (Lighthouse, Webhint, Stylelint, Eslint)
  • Git/GitHub work-flow

🔴 Live Demo (If availabale)

Live Demo Link

Project requirements

You will need to implement the following functionalities (presented in the video above):

  • Adding a new item.
  • Removing a selected item.
  • Marking a selected item as complete.
  • Removing all items marked as complete at once.
  • Reordering a selected item (as drag-and-drop) [as an additional feature].

Getting Started

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

  • Open terminal
  • Clone this project by the command:

$ git clone [email protected]:khitermedachraf/Awesome-books-ES6.git

  • Then go to the main folder using the next command:

$ cd Awesome-books-ES6.git

  • Finally, run diplay the index.html file in your local browser, or also, you can use Live Server in Visual Studio Code.

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

Prerequisites

  • IDE to edit and run the code (We use Visual Studio Code 🔥 ).
  • Git to versionning your work.

Install

Usage

  • For anyone who wants to Use webpack to bundle JavaScript.
  • For anyone who wants to practice html5, css3 and or vanilla JavaScript
  • For anyone who wants to create his own Web devlopment course site.

Run tests

  • run: npx hint .
  • run: npx stylelint "**/*.{css,scss}"
  • run: npx eslint .

Authors

👤 Achraf KHITER

  • GitHub: GitHub Badge
  • LinkedIn: LinkedIn Badge
  • Gmail: Gmail Badge
  • Twitter: Twitter Badge
  • Instagram: Instagram Badge
  • Facebook: Facebook Badge

🤝 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
  • Inspiration
  • Microverse program
  • My standup team
  • Coding partners

📝 License

This project is MIT licensed.

Comments
  • Testing To Do list:update and edit.

    Testing To Do list:update and edit.

    In this pull request @khitermedachraf and i :

    • Create a test file for the following functions :
    • a function for editing the task description.
    • a function for updating an item's 'completed' status.
    • the "Clear all completed" function.
    opened by nedjwab 1
  • Testing To Do list:add and Remove.

    Testing To Do list:add and Remove.

    In This pull request @khitermedachraf and I :

    • Create a test file for the add item and delete item functions.
    • Fix linter errors.
    • Mock a storage object to "imitate" localStorage operations.
    • Mock HTML to test if add/delete functions add or remove exactly one
    • element to/from the list in the DOM.
    opened by nedjwab 1
  • Microverse Self-Review: Do I follow JavaScript best practices? 5/9/2022

    Microverse Self-Review: Do I follow JavaScript best practices? 5/9/2022

    Good Work so far🔥✔ I did respect:

    • HTML and CSS best practices.
    • JavaScript best practices.
    • Github workflow.
    • I used the two rules [KISS => Keep It Simple, Smart] and [YAGNI: You Aren't Gonna Need It.] very well.

    But I didn't really use the rule of:

    • DRY. (Don't Repeat Yourself).
    opened by khitermedachraf 1
  • Implement some functionality to make my application interactive like:  mark task completion and clear completed ones

    Implement some functionality to make my application interactive like: mark task completion and clear completed ones

    In this pull Request I fulfilled the following 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 the item's object's value for the 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.
    opened by khitermedachraf 1
  • Implement the CRUD (create, update, delete) methods to my To-Do list

    Implement the CRUD (create, update, delete) methods to my To-Do list

    In this Pull Request, I fulfilled the following 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(i.e. if you're deleting the first task index 1 from the list, the index of the next task(2) should be set to 1)...
    • All changes to the To-Do List should be saved in local storage.
    opened by khitermedachraf 0
  • build a simple HTML list of To-Do tasks and populate it dynamically from JS

    build a simple HTML list of To-Do tasks and populate it dynamically from JS

    In this Pull Request I fulfilled the following tasks:

    • Set up a new project with webpack that is based on the webpack exercise you have already completed.
    • Create an index.html file and write your HTML markup here. Create an empty To Do List placeholder (<div> or <ul> 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). Each task object should contain 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. Your list should be a clone of the part of the minimalist project captured in the video below.

    Capstone intro

    • All your source files (index.html, index.js and style.css) must be located in /src directory and your distribution files will be generated by webpack and served by webpack dev server from /dist folder.
    opened by khitermedachraf 0
Owner
KHITER Mohamed Achraf
Software Engineer & Full-stack Web developer | Martial arts Lover🔥. Interested in: JS, React, RoR, Node.js, SQL, AI, and QA. Looking for new opportunities
KHITER Mohamed Achraf
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
zieeco 12 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
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
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
Richard Chileya 5 Nov 11, 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
A to do list where you can add tasks, mark completed tasks and clear all completed tasks.

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 doubl

Amira 7 Mar 4, 2022
Satyam Sharma 3 Jul 8, 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
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
Grayce Muthui 8 Jun 16, 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
A web app which help you to save your daily tasks, mark them as completed and edit and delete them. Built with JavaScript

To-Do List A simple to-do list to help you organize your daily tasks. Built With HTML. CSS. JavaScript: ES6, Modules, Classes, Arrow Functions, Events

Williams Colmenares 13 Dec 17, 2022
A web app which help you to save your daily tasks, mark them as completed and edit and delete them. Built with JavaScript

To-Do List A simple to-do list to help you organize your daily tasks. Built With HTML. CSS. JavaScript: ES6, Modules, Classes, Arrow Functions, Events

Williams Colmenares 11 Aug 10, 2022