To do list is a simple CRUD application that allows you to add, delete, update tasks that you are supposed to do. It is built with HTML, CSS and JavaScript

Overview

to do List

To do list is a simple CRUD application that allows you to add, delete, update tasks that you are supposed to do.

screenshot

Built With

  • HTML-5
  • CSS3
  • Javacript
  • Webpack
  • Linters

Live Demo

For the link to the live demo, Click here

Getting Started

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

Prerequisites

A Web Browser (preferably Google Chrome)

Setup

Usage

after running npm start the website will be opened automatically on your default browser.

Run tests

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

Deployment

  • Project is deployed using
  • git push <branch_name>

Authors

👤 Author

🤝 Contributing

Contributions, issues, and feature requests are welcome!

Feel free to check the issues page.

📝 License

This project is MIT licensed.

Comments
  • Peer Code Review

    Peer Code Review

    Hey Lynette, Good job separating the DOM manipulation from the logic. Here are a few things missing in your testing fille:

    • [x] ** Create tests for edit todo
    • [x] ** Create tests for checking todos(i.e status update to completed todo)
    • [x] ** Create tests for clearing all completed todos

    Best of luck and great work!

    opened by amiraabouhadid 1
  • Javascript best practices

    Javascript best practices

    • Use method chaining. return this at the end of every function and you can chain further classes, methods onto it. https://github.com/iLynette/todo-list/blob/ea1fcce085cf38d6e2a89e33702861c57d201d58/src/modules/todoList.js#L34

    • Name variables in such a way that they reveal what the intention behind it is, allTasks in the line of code below is not very clear https://github.com/iLynette/todo-list/blob/ea1fcce085cf38d6e2a89e33702861c57d201d58/src/modules/utils.js#L6

    opened by iLynette 1
  • Todo project

    Todo project

    In this project I implemented the following;

    • Set up a new project with webpack

    • Create an index.html file and HTML markup here. Create an empty To Do List placeholder.

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

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

    opened by iLynette 1
  • Unit testing

    Unit testing

    In this project we implemented the following;

    • [ ] a function for editing the task description.

    • [ ] a function for updating an item's 'completed' status.

    • [ ] the "Clear all completed" function.

    opened by iLynette 0
  • Testing

    Testing

    • In this project we implemented the following;

    • [ ] Use jest framework for testing.

    • [ ] Create a test file ([..].test.js) for a file containing the add item and delete item functions that we 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 HTML to test if add/delete functions add or remove exactly one li element to/from the list in the DOM.

    • [ ] Make sure you group your tests using the describe() method.

    opened by iLynette 0
  • Add and remove

    Add and remove

    In this project i implemented the following;

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

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

    opened by iLynette 0
Owner
Lynette Acholah
Full-stack software developer with a love for javascript. I play badminton and draw in my spare time. Currently looking for new opportunities
Lynette Acholah
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
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
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
A simple HTML list of To Do tasks built using webpack, JS ES6 and CSS. This app allows users to add and delete tasks to organize their days.

To-Do List "To-do list" is an app that helps to organize your day. It simply lists the things that you need to do and allows you to mark them as compl

Karla Delgado 15 Sep 26, 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
In this project, I implement a Simple To Do List with the CRUD (create, read, update, delete) methods. I followed the JavaScript, CSS, HTML, DRY, KISS and YAGNI Best practices.

To Do list: add & remove In this project, I implement a Simple To Do List with the CRUD (create, read, update, delete) methods. All the elements of th

Olivier 6 Nov 20, 2022
This an CRUD app built were users can create, update and delete specific day to day tasks as they wish. The app is built using webpack and served with webpack dev server

Todo-List This an CRUD app built were users can create, update and delete specific day to day tasks as they wish. The app is built using webpack and s

Duane David 10 Sep 28, 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 project is a list manager that will allow a user organize a list of their tasks. They can conveniently create, update and delete tasks.

TO DO LIST APP This project is a list manager that will allow a user organize a list of their tasks. They can conveniently create, update and delete t

Kehinde Onifade 8 Oct 7, 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
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
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
In this project, I implement a Simple To Do List with the CRUD (create, read, update, delete) methods. All the elements of the user interface are fully functional.

To Do list: add & remove In this project, I implement a Simple To Do List with the CRUD (create, read, update, delete) methods. All the elements of th

Olivier 10 Jan 3, 2023
A CRUD made with NodeJS. It's a book directory where you can see the books, add new ones, update them, or even delete .

BOOK-DIRECTORY-NODEJS A CRUD made with NodeJS. It's a book directory where you can see the books, add new ones, update them, or even delete . What I u

null 6 May 18, 2022
A CRUD made with NodeJS. It's a book directory where you can see the books, add new ones, update them, or even delete .

Book-Directory-NodeJS A CRUD made with NodeJS. It's a book directory where you can see the books, add new ones, update them, or even delete . What I u

null 5 May 13, 2022
A web app designed to keep track of activities that are done and those that are and not done. Users can add, delete, mark as completed and update the activities. Built with Javscript, html, css and webpack.e your activites

ToDoListApp A web app designed to help web keep track of activities that are done and those that are still pending. Users can add, delete, mark as com

Francis Wayungi 6 Dec 23, 2022
This is an app built with HTML, CSS and JavaScript to store a list of to-do. You can add, and delete from list.

To Do List This is an app built with HTML, CSS and JavaScript to store a list of to-do. You can add, and delete from list Built With HTML CSS JavaScri

Toma John Musa 7 Jul 1, 2022