"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

Overview

To Do List Structure

Solo programming project for module 2 week 2 of the Microverse Program.

Live Demo

Live Demo Link

Desktop Version Mobile Version

"To Do List" is a minimalist project that displays a list of task and allows you to add and remove task from that list.

First requirements:

Project requirements 1

Implement the structure of To Do List project

Basic UI

  • 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:
    • description [string].
    • completed [bool].
    • 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.

TIP: If you separated the code in multiple files and you you have the following issues with the linter: complaining about having multiple classes at the same file, or an unused variables, disable the linter check for that rule in the file with a /_ eslint-disable rule-you-want-to-disable _/ .

Check the ESLint documentation for more details on how.

To setup the project on your machine:

Getting Started

Clone the repository and setup the linter

Prerequisites

  • npm ( Node Package Manager )
  • git and Github Account

Setup

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

  • Open terminal
  • Change the directory you want put the repo
  • Then run i. Run git clone [email protected]:mengiefen/awesome-books.git ii. cd repo-name/

Install

Run tests

  • Webhint linter -npx hint . on the root of your directory of your project.
  • Stylelint linter
    • npx stylelint "**/*.{css,scss}" on the root of your directory of your project.
  • ESLint linter
    • npx eslint . on the root of your directory of your project.

Second requirements:

Built With

  • HTML
  • CSS
  • Javascript
  • Webpack
  • Love

Authors

👤 Yersel Hurtado

🤝 Contributing

Contributions, issues, and feature requests are welcome!

Show your support

Give a ⭐️ if you like this project!

Acknowledgments

  • A big thank you to Microverse, for providing me the knowledge and tools to finish this project.
  • An even bigger thank you to all my coding partners who helped me get here.

📝 License

Attribution-NonCommercial 4.0 International (CC BY-NC 4.0)

Disclaimer: This is a human-readable summary of (and not a substitute for) the license.

You are free to:

Share — copy and redistribute the material in any medium or format
Adapt — remix, transform, and build upon the material

The licensor cannot revoke these freedoms as long as you follow the license terms.

Under the following terms:

Attribution — You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.

NonCommercial — You may not use the material for commercial purposes.

No additional restrictions — You may not apply legal terms or technological measures that legally restrict others from doing anything the license permits.

Notices:

You do not have to comply with the license for elements of the material in the public domain or where your use is permitted by an applicable exception or limitation.
No warranties are given. The license may not give you all of the permissions necessary for your intended use. For example, other rights such as publicity, privacy, or moral rights may limit how you use the material.
You might also like...

Awesome books is a simple website that displays a list of books and allows you to add and remove books from that list

Awesome books is a simple website that displays a list of books and allows you to add and remove books from that list

Awesome books is a simple website that displays a list of books and allows you to add and remove books from that list. By building this application, you will learn how to manage data using JavaScript. Thanks to that your website will be more interactive. built with modern JavaScript and uses SPA technology.

Mar 29, 2022

"Awesome books" is a simple website that displays a list of books and allows you to add and remove books from that list.

Hello! I am a software developer! I can help you build a product, feature or website. Take a look of my works. If you like what you see and have a pro

May 9, 2022

This is a simple To-do list built with JavaScript, HTML and CSS. The project uses webpack to bundle JS-modules. Users can add and remove task from the list

This is a simple To-do list built with JavaScript, HTML and CSS. The project uses webpack to bundle JS-modules. Users can add and remove task from the list

This is a simple To-do list built with JavaScript, HTML and CSS. The project uses webpack to bundle JS-modules. Users can add and remove task from the list

Jun 7, 2022

A simple task manager that allows that allows users to add, remove and modify tasks from a list.

TO-DO LIST TO-DO LIST is a basic app that allows users to add/remove task from a to-do list. Built With HTML, CSS, JavaScript, Live Demo Live Demo Lin

May 3, 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

Nov 1, 2022

A simple to-do list application that helps to organize your daily tasks and keep track of the task you have completed and the task you are yet to have completed, and also deleting the completed task leaving those yet to be completed.

A simple to-do list application that helps to organize your daily tasks and keep track of the task you have completed and the task you are yet to have completed, and also deleting the completed task leaving those yet to be completed.

To-Do-List A To-Do-List App helps users to get their task cordinated and organised. This project is from microverse javascript curriculum which tests

Jul 8, 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

Jan 3, 2023

Awesome Books. In this project, I built a basic website that allows users to add/remove books from a book list. This project is build with JavaScript.

Awesome Books. In this project, I built a basic website that allows users to add/remove books from a book list. This project is build with JavaScript.

Event Page Awesome Books. In this project, I built a basic website that allows users to add/remove books from a book list. Built With HTML CSS JavaScr

Feb 28, 2022
Comments
  • Interactive list for to-do List Project

    Interactive list for to-do List Project

    I implemented the project based on the next requirement:

    • When you click on the checkbox it changes the completed parameter: true/false. Also, the icon changed from a checkbox to a check.
    • The array of tasks is updated on each modification
    • 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.

    You can see here the test of the to-do list project: https://www.loom.com/share/768d05ad9d8d41388317a4ece628b272

    opened by yersel500 0
  • Add remove task feautures

    Add remove task feautures

    I implemented the project based on the next requirement:

    • 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 list when you click on the checkbox).
    • Implement a function for editing task descriptions (when you click on the right side of the task)
    • 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.

    You can see here the test of to-do list project: https://www.loom.com/share/768d05ad9d8d41388317a4ece628b272

    opened by yersel500 0
  • List structure fo to do list project

    List structure fo to do list project

    I follow the next requirements:

    • 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:
      • description [string].
      • completed [bool].
      • 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.
    opened by yersel500 0
  • Internal review

    Internal review

    I can improve the next part of my codes:

    https://github.com/yersel500/to-do-list/blob/659775dbf075b15f09f379210d2d204f809bec86/src/index.js#L25-L40

    • Include a specific function instead of writing it directly on the event listener.

    https://github.com/yersel500/to-do-list/blob/659775dbf075b15f09f379210d2d204f809bec86/src/modules/ui.js#L53-L54

    • Instead to add a click event inside the print task function, could be better if you do it externally. It will help to avoid possible bugs when users click on the tasks.

    Happy coding! 😃

    opened by yersel500 0
Owner
Yersel Hurtado
Full-stack developer student with a love for JavaScript. I have a strong background in leading teams. Open to new opportunities.
Yersel Hurtado
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
Satyam Sharma 3 Jul 8, 2022
This is a project being built to show the usage of Webpack. It's an application were you are able to add a task to the list, and remove a task from the list

Microverse Project To Do List This is a project being built to show the usage of webpack. Its an application were you are able to add a task to the li

Roland Ossisa Yuma 4 May 6, 2022
Richard Chileya 5 Nov 11, 2022
"Awesome books" is a simple website that displays a list of books and allows you to add ang remove books from that list. Also you can store your data in your local storage. Build with JavaScript, HTML and CSS.

Awesome Books Creating an app that adds and delete books from a list. Built With HTML CSS JavaScript Application Page url https://TimmyChan99.github.i

Fatima Ezzahra elmenoun 5 Jan 28, 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
Emem Ekpo 7 Sep 9, 2022
"Awesome books" is a simple website that displays a list of books and allows you to add and remove books from that list. By building this application with JavaScript, the website is more interactive!

Awesome-books Description "Awesome books" is a simple website that displays a list of books and allows you to add and remove books from that list. By

Cindy Dorantes 11 Oct 18, 2022