This project is about building a simple HTML list of To Do tasks. Built using webpack and served by a webpack dev server.

Overview

To Do List app

This project is about building a simple HTML list of To Do tasks and is built using webpack and served by a webpack dev server.

Built With

  • HTML
  • CSS
  • JS
  • Webpack

Getting Started

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

Prerequisites

  • Code Editor (e.g. VS Code, Atom)
  • Web browser

Setup

Step 1: Clone this repo locally using git

  • Create a folder in your local machine
  • Open your console in your folder and run this command: https://github.com/dqarias/To-Do-list.git
  • Alternatively, you can just download the complete zip file and extract the folder in your directory

Step 2: Run in your project directory

  • Open your console in your folder and run the nex command . code to open your vscode editor with awesomeBooks project.
  • In your code editor open the terminal and run the nex command npm install to install all the dependencies from the package.json
  • In the terminal run the next command npm run start to open a page live server using webpack devServer

Deployment

This project has been deployed using Github page

Live Demo

Live Demo Link

Authors

đŸ‘€ Dino Quispe

đŸ€ 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
  • Milestone 3: Interactive list

    Milestone 3: Interactive list

    In this milestone we:

    • Add a new JavaScript file and import it as a module: status.js it 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): deleteAllTodo.
    • Store the updated array of items in local storage, so the user gets the correct list values after the page reloads.
    opened by dqarias 0
  • Milestone 2: add & remove

    Milestone 2: add & remove

    In this milestone we:

    • Remove all hardcoded items from the tasks array.
    • Create a new JavaScript file for the new functionality:'action.js'.
    • 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.
    • We set the property completed to "false" and the property index to the value of the "new array length".
    • We reorder the number of the property index we delete an element.
    • We save all the changes in local storage.
    opened by dqarias 0
  • Milestone 1: Todo List structure

    Milestone 1: Todo List structure

    In this milestone we:

    • Set up the project with webpack based on the boilerplate-webpack
    • Create an index.js file and set an array of some simple to do tasks (array of objects).
    • 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.
    • Add style.css cloning the of the minimalist project of this video
    opened by dqarias 0
  • Peer-to-peer code review: To-do list.

    Peer-to-peer code review: To-do list.

    Dear Dino, your project is great, I just have a few suggestions that you could consider:

    index.js file:

    • You could use two variables to add the "checked_list" class and the "checked" state in the conditional. For instance: if(todo.completed) { attClass = "todo_list checked__list"; status = "checked"; } else { attClass = "todo_list"; status = ""; } displayHTML(attClass, status); https://github.com/dqarias/To-Do-list/blob/e0e871cc3a9c5a7be468bcf9dddb7aab78df64df/src/index.js#L15-L36

    • You could add a 'form' element to the HTML and that way you'd be avoiding the 'keyup' event and stay with the click event in the btnAdd element. https://github.com/dqarias/To-Do-list/blob/e0e871cc3a9c5a7be468bcf9dddb7aab78df64df/src/index.js#L101-L109

    • To follow ESLint rules, you should move your function renderTodo() above the todoEdit function, because you use it before and declare it later down in the file. https://github.com/dqarias/To-Do-list/blob/e0e871cc3a9c5a7be468bcf9dddb7aab78df64df/src/index.js#L87-L93

    opened by jevazquezb 0
  • HTML and CSS best practices.

    HTML and CSS best practices.

    Try to reuse your properties in your css file

    https://github.com/dqarias/To-Do-list/blob/e0e871cc3a9c5a7be468bcf9dddb7aab78df64df/src/style.css#L43

    Try to use semantical labels such as <article> instead of <div>

    https://github.com/dqarias/To-Do-list/blob/e0e871cc3a9c5a7be468bcf9dddb7aab78df64df/src/index.html#L13

    opened by dqarias 0
  • DRY, KISS, and YAGNI rules.

    DRY, KISS, and YAGNI rules.

    Try to reuse the following code in the if-else statement

    https://github.com/dqarias/To-Do-list/blob/e0e871cc3a9c5a7be468bcf9dddb7aab78df64df/src/index.js#L17

    todos.innerHTML += `<li id="${todo.index}" class="todo_list checked__list">
        <div>
           <input class="checkbox-input" type="checkbox" id="todo${todo.index}" name="todo${todo.index}" checked>
           <label for="todo${todo.index}">${todo.description}</label>
        </div>
        <button id="${todo.index}" class="btn btn-remove">
           <i class="fa-solid fa-trash"></i>
        </button>
       </li>`;
      }
    

    Try to reuse the following code in deleTodo and deleteAllTodo functions.

    https://github.com/dqarias/To-Do-list/blob/e0e871cc3a9c5a7be468bcf9dddb7aab78df64df/src/modules/action.js#L38

     todoDataRemoved.forEach((task, index) => {
        task.index = index + 1;
      });
    
    opened by dqarias 0
Owner
Dino Ronald Quispe Arias
Full-Stack Software Developer with a love for React, full-time student at Microverse. Currently open for new opportunities.
Dino Ronald Quispe Arias
In this project, we built a simple HTML list of To Do tasks. This simple web page was created using webpack and served by a webpack dev server.

To do list In this project, we built a simple HTML list of To Do tasks. This simple web page was created using webpack and served by a webpack dev ser

JesĂșs VĂĄzquez 8 Dec 21, 2022
In this project, I build a simple HTML list of To Do tasks. This simple web page will be built using webpack and served by a webpack dev server.

To Do list with Webpack In this project, I build a simple HTML list of To Do tasks. This simple web page will be built using webpack and served by a w

Sidney Kaguli 8 Aug 23, 2022
A simple HTML page maintaining list of To Do tasks using webpack and served by a webpack dev server.

Task Organiser In this project, we build a simple HTML list of To Do tasks using webpack and served by a webpack dev server. Built With HTML CSS Javas

Angom 4 Jun 24, 2022
This is a simple web app that allows a user add list of tasks that needs to be completed. It is built using webpack and served by a webpack dev server.

TO-DO-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 compl

Favour Ezeugwa 18 Aug 19, 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 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
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 built a simple HTML list of To-Do tasks. This simple web page was built using Webpack, creating everything from a JavaScript index file that imported all the modules and assets

To Do List In this project, I built a simple HTML list of To-Do tasks. This simple web page was built using Webpack, creating everything from a JavaSc

Andrés Felipe Arroyave Naranjo 10 Mar 31, 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
In this project, I built a simple HTML list of To-Do tasks. Using webpack to bundle JS functionality and other sources.

To-do-list App A simple To-do-list app using DOM manipulation. Built With HTML/CSS JavaScript Webpack Jest Live Demo Live Demo Getting Started Get a c

Andy Menutti 10 Nov 5, 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 simple to-do app for managing daily tasks built with Webpack, JavaScript, HTML, and CSS with the functionality to manipulate multiple completed tasks and store them to local storage.

TODO LIST APP In this project, I have built a simple HTML list of To Do tasks. The list is styled according to the listed specifications . This simple

Selma Belhadj 8 Jun 7, 2022
Grayce Muthui 8 Jun 16, 2022
Todo-List is an online website where users can add a todo tasks. tasks can be removed , added, and edited. Built with Webpack and JavaScript.

To-do List Description To-do-list is an online website where users can add a todo tasks. tasks can be removed , added, and edited.Built with Webpack a

tarike bouari 9 Sep 9, 2022