The app helps you to add todo items to your list, mark completed ones and also delete finished items. Its a handy tool for your day today activies. Check out the live demo.

Overview

Todo List App

The app helps you to add todo items to your list, mark completed ones and also delete finished items. Its a handy tool for your day today activies. Check out the live demo.

screenshot

Built With

  • HTML, CSS and Js (ES6).
  • No Frameworks
  • Webpack
  • Git, Github and VsCode. -jest framework

Live Demo

  • Click here for the live site.

Getting Started

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

Prerequisites

  • A modern upto-date browser
  • Text Editor or IDE

Setup

  • copy the git link for cloning.

Install

  • Open terminal
  • run git clone (link)
  • run nmp install
  • run npm build
  • run npm start

Tests

  • run npm test

Usage

  • open index.html file with a server or localhost.

Authors

👤 Billions Atugonza joel

👤 Mugisha Samuel

🤝 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
  • etc

📝 License

This project is MIT licensed.

Comments
  • javascript best practices

    javascript best practices

    hey @billionsjoel ✋ while I was reviewing your codebase I found it well organized with best practice 🥇

    but they are still some issues to work on to better improve it.

    • on below line you should consider creating a list node and bind it to ul as best practice instead of overwriting string to ul 👍

    https://github.com/billionsjoel/todo-app/blob/a85dd821a34b4ecfa0059cca0ff244f503058ffb/src/modules/RenderTask.js#L21

    opened by mugishasam123 2
  • MORNING SESSION CODE REVIEW

    MORNING SESSION CODE REVIEW

    This PR suggests code reviews for the es6 awesome books app

    • we suggest that you sort your array element in the sort function rather than having an entire module ex arr.sort((a,b) => a.index-b.index).
    • we suggest that use forEach instead of map if you are just going to loop through the array.
    • we suggest that you pass the todos array as a parameter instead of redeclaring it in each module.
    • we suggest that you call the renderAllTasks method every time you update your array that way you can avoid having the renderTask method.
    opened by rachidelaid 1
  • Add and remove feature with interactive list

    Add and remove feature with interactive list

    This PR adds and removes tasks with the interactive list actions

    • Adding a new item.
    • Removing a selected item.
    • Marking a selected item as complete.
    • Removing all items marked as complete at once.
    • Add new JavaScript files 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.
    opened by billionsjoel 1
  • Test feature

    Test feature

    This PR creates tests for the todo list app.

    • 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.

    opened by billionsjoel 0
  • JAVASCRIPT BEST PRACTICES

    JAVASCRIPT BEST PRACTICES

    1. I can see code functionality works well but I would suggest using destructing for best practices.
    Screenshot 2022-01-17 at 09 18 40
    1. Use classes to avoid variable repetitions so you can keep it DRY. I can see you are calling this variable almost in every file.

    Screenshot 2022-01-17 at 09 20 08.

    1. Good job on HTML and CSS good practices although I suggest that you avoid using the !important value as much as possible.
    Screenshot 2022-01-17 at 09 22 06
    1. Good use of the compare module for sorting tasks although I suggest that you refactor and remove it because of YAGNI. You can sort within the sort function
    Screenshot 2022-01-17 at 09 24 50
    opened by billionsjoel 0
  • To Do list: list structure

    To Do list: list structure

    This PR creates a todo list structure

    • Set an array of some simple to do tasks (array of objects). Each task object contains three keys: 1. description [string]. 2. completed [bool]. 3. index: [number].

    • A function to iterate over the tasks array and populate an HTML list item element for each task.

    • On page load the list renders and the list appears in order of the index values for each task.

    • All files in the dist are auto-generated by webpack.

    opened by billionsjoel 0
  • MORNING SESSION CODE REVIEW BLOCK #4 MODULE #2

    MORNING SESSION CODE REVIEW BLOCK #4 MODULE #2

    This issue presents code reviews suggested on 25th-Jan-2022.

    • We suggest you add the drag and drop feature to make the project complete. 😄
    • We think it would be a good idea to move the test files to a test directory for modularity and a clean codebase.
    • We also suggest that you fix the mobile version of the app. It looks like the app breaks on extra small devices.
    opened by billionsjoel 3
Owner
Atugonza ( Billions ) Joel
FullStack Software Developer at Microverse.org. Laravel enthusiast. Stack: | Javascript | React & Redux | Ruby | Rails | Postgresql | SQL | APIs. Open to Work
Atugonza ( Billions ) Joel
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
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
TODO List is a simple website that displays a list of todo and allows you to add and remove todo from that list.

Todo TODO List is a simple website that displays a list of todo and allows you to add and remove todo from that list. App Screenshot Live Demo Todo Ap

Ishmael Kargbo 3 May 12, 2022
Very useful website application to memorize all the tasks of the day, mark the complete ones, organize them by importance and finally delete them.

To Do List Very useful website application to memorize all the tasks of the day, mark the complete ones, organize them by importance and finally delet

Gonzalo Medina 3 Jul 29, 2022
Cindy Dorantes 12 Oct 18, 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
ToDoList app helps users make their day organized and user can add tasks, delete completed tasks.Build with Javascript, HTML, CSS

ToDoList Description the project. This project we will help you organize your day. Add tasks Delete tasks And clear all tasks keep your list clean. Bu

Nurgul Kereikhan 6 Oct 11, 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
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 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
A single-page application that allow users to add their To Do items. The items could be checked as completed and the completed task can be removed. Built with JavaScript, HTML and CSS

To Do list Application This is a single page application that allows users to keep track of their tasks. Users can add the task and also check the che

Micheal Oguntayo 4 Oct 14, 2022
"To-do list" is a tool that helps to organize your day. It simply lists the things that you need to do and allows you to mark them as complete. It is created with HTML , CSS , JS and webpack and NPM.

My Todo List "To-do list" is a tool that helps to organize your day. It simply lists the things that you need to do and allows you to mark them as com

Dyary Raoof Bayz Agha 5 Mar 29, 2022
Chris Siku 13 Aug 22, 2022