This is a Todo app build with JS, HTML/CSS , Webpack

Overview

todo-list

Todo List app

screenshot

Additional description about the project and its features.

Built With

  • HTML5
  • CSS3
  • Webpack
  • JavaScript

Live Demo

Live Demo Link

Getting Started

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

Authors

👤 Redwing555

🤝 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
  • Test edit completed

    Test edit completed

    This is the first milestone of the testing part of the TODO app project it contains:

    ➡️ test file cmethods.test.js for the following functionalities :

          ➡️ editing a task description .
        
          ➡️Altering the state(completed) of a task and making sure the changes occues at the local storage level.
        
          ➡️ Altering the state of the checkbox of a task and making sure the state(completed) of the task changes at the local storage level.
    
    opened by redwing555 1
  • Testing adding and deleting functions

    Testing adding and deleting functions

    This is the first milestone of the testing part of the TODO app project it contains:

    ➡️ test file crud.test.js for the following functionalities :

          ➡️ Adding a task to the list of todo tasks and a mocked version of the local storage.
        
          ➡️ Deleting tasks from the tasks array and the mocked local storage.
        
          ➡️ adding list elements to the DOM.
    
    opened by redwing555 0
  • CRUD functionnalities

    CRUD functionnalities

    This is the last milestone of the TODO app project it contains:

    ➡️ Creating a new crud.js file that contains the following functions :

          ➡️ Adding a task to the list of todo tasks and reordering the indexes properties of the task object.
        
          ➡️ Deleting completed tasks function that also rearranges the indexes properties of the task object in 
               `window.localStorage` .
        
          ➡️ Updating the content of the task function when the list area is clicked and storing the new description in 
                `window.localStorage`.
        
          ➡️ Inline deleting functionality with `trash icon` when the updating event is triggered.  The deleted task is automatically 
                 deleted from the local storage and the indexes are rearranged in  `window.localStorage`.
    
    opened by redwing555 0
  • Adding dynamic features to the project

    Adding dynamic features to the project

    This is the second milestone of the TODO app project it contains:

    ➡️ Creating a new module methods.js containing a function to update the completed states of tasks depending on checkbox status and storing of updated data in LocalStorage.

    ➡️ Adding event listener to listen to changes in checkbox status inside the new module upon user desire to mark a task as completed.

    ➡️ Using Local Storage to retrieve and store user task's data upon page reload.

    opened by redwing555 0
  • List feature

    List feature

    This is the first milestone of the TODO app project it contains:

    ➡️ Setting up the project using Webpack. ➡️ Creating Index.html file used as a template for Webpack using HTML Webpack plugin. ➡️ Creating an index.js file and setting an array of some simple to-do tasks (array of objects). Each task object contains three keys:

        ⚜️  description [string].
        ⚜️   completed [bool].
        ⚜️   index: [number].
    

    ➡️ Creating a function to populate the HTML with the list of tasks, the function is executed on page load. ➡️ Creating a style.css. CSS is loaded by Webpack Style/CSS Loader and the styling follows the following template.

    opened by redwing555 0
  • The id will be wrong when you have more than 10 items

    The id will be wrong when you have more than 10 items

    Hi, @redwing555, Your project looks good. I was looking at it and I noticed you have a bug on methods.js

    https://github.com/redwing555/todo-list/blob/ed2ba5ec516060208e1c799a2e2cd43e2b56999d/src/methods.js#L48

    here you are getting the id by indexing into position 5. however once you have more than 10 tasks on the page that index will be wrong because it will only give you the first digit ( in this case 1) and will end up selecting the wrong task.

    opened by MrBrN197 1
  • JavaScript best practices : KISS

    JavaScript best practices : KISS

    simplify these lines of code by giving the HTML element [...[...[...event.target.children][2].children][0].children][1] a descriptive variable name ex : trashcan , bin ... :

    https://github.com/redwing555/todo-list/blob/ab9ced74c95408228904e0ed1f77fd2282045fdc/src/crud.js#L63-L64 https://github.com/redwing555/todo-list/blob/ab9ced74c95408228904e0ed1f77fd2282045fdc/src/crud.js#L54-L55

    opened by redwing555 1
  • Javascript Best practices : DRY and YAGNI

    Javascript Best practices : DRY and YAGNI

    Give this function the taskArr as a variable so It can be used whenever I need to update thelocalStorage provided the right array :

    https://github.com/redwing555/todo-list/blob/ab9ced74c95408228904e0ed1f77fd2282045fdc/src/crud.js#L3-L6

    call addTaskToStorage(taskArr) instead of localStorage.setItem('tasksList', JSON.stringify(taskArr)); in the following lines of code :

    https://github.com/redwing555/todo-list/blob/ab9ced74c95408228904e0ed1f77fd2282045fdc/src/crud.js#L19-L31

    https://github.com/redwing555/todo-list/blob/ab9ced74c95408228904e0ed1f77fd2282045fdc/src/crud.js#L33-L46

    https://github.com/redwing555/todo-list/blob/ab9ced74c95408228904e0ed1f77fd2282045fdc/src/index.js#L74-L77

    https://github.com/redwing555/todo-list/blob/ab9ced74c95408228904e0ed1f77fd2282045fdc/src/methods.js#L13-L15

    Also export the addTaskToStorage function and import it in both methods.js and index.js

    opened by redwing555 1
Owner
houssam hichami
Full-Stack Software Developer with an interest in React and Redux. Open to new opportunities.
houssam hichami
A PHP Laravel web application that uses most of Laravel technologies to build that gym system

A PHP Laravel web application that uses most of Laravel technologies to build that gym system.The System is based on rules. Admin, City Manager, Gym Manager. All Crud operations running using data tables.

Ashraf Eldawody 9 Dec 29, 2022
ThinkMore Forum frontend build with Next.js, Typescript, Redux, Jest, Sass, MUI.

ThinkMoreForum-Frontend Website Desktop Mobile Front-end technology stack Next.js Redux Typescript MUI Axios Husky React testing-library Jest Eslint,

Alan 151 Dec 10, 2022
Gmail-like client-side drafts and bit more. Plugin developed to save html forms data to LocalStorage to restore them after browser crashes, tabs closings and other disasters.

Sisyphus Plugin developed to save html forms data to LocalStorage to restore them after browser crashes, tabs closings and other disasters. Descriptio

Alexander Kaupanin 2k Dec 8, 2022
Generate HTML redirections from json file

Generate HTML redirections from json file

Andrew Luca 3 Jan 6, 2022
Compiler for parsing custom HTML 🤖

RiN Compiler Compiler for parsing custom HTML ?? Installation Features Usage Basic compilation Advanced compiling Tags Widgets App Widgets Functional

Chalana Nethsara 4 Apr 3, 2022
Custom HTML elements for generic components (dropdown, modal...) without style.

Headless elements The goal of this project is to create a library of Custom Elements to stop reinventing the wheel (starting by reinventing the wheel

Jonathan 21 Sep 17, 2022
Next.js + Tailwind CSS Example

Next.js + Tailwind CSS Example This example shows how to use Tailwind CSS (v3.0) with Next.js. It follows the steps outlined in the official Tailwind

null 2 Sep 1, 2022
Web app for adding EU Digital COVID Certificates to your wallet apps

Web app for adding EU Digital COVID Certificates to your wallet apps

CovidPass 1.2k Dec 31, 2022
AryaBota: An app to teach Python coding via gradual programming and visual output

AryaBota UI Development Note: Before you begin, make sure you have the back-end Flask app up and running. Visit aryabota-services to learn more about

null 5 Dec 18, 2021
NatsirtMC is a lightweight app allowing you to connect to any Minecraft server without having Minecraft open

NatsirtMC the only way to grind without grinding NatsirtMC is a lightweight app allowing you to connect to any Minecraft server without having Minecra

tristan 3 Dec 26, 2022
FriendAdvisor is a mobile app with a focus on allowing friends and family to coordinate and receive text notifications about upcoming group events.

FriendAdvisor is a mobile app with a focus on allowing friends and family to coordinate and receive text notifications about upcoming group events.

Brad Johnson 4 Sep 29, 2022
A Pauli Test simulation app made with Web Component and RxJS

There was a discussion quite a while ago in Teknologi Umum about brain throughput or something. Basically it was about how long does your brain can maintain its performance. It was brought up because there was a discussion about typing speed and how someone can get high Words per Minute at the start but starts to slow down the longer they go.

elianiva 5 Jun 8, 2022
Math Magician is a single Page App that allows users to perform simple math calculations

Math Magician is a single Page App that allows users to perform simple math calculations

levy_ukwishaka 11 Apr 9, 2022
This is a Todo app build with JS, HTML/CSS , Webpack

todo-list Todo List app Additional description about the project and its features. Built With HTML5 CSS3 Webpack JavaScript Live Demo Live Demo Link G

houssam hichami 6 May 22, 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
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
A simple Todo app to add list of books a user has read using HTML, CSS, Webpack, JavaScript and modular architecture

Minimalist A simple Todo app to add list of books a user has read. It is implemented using HTML, CSS, Webpack, JavaScript and modular architecture. A

Elikplim 4 May 9, 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
Richard Chileya 5 Nov 11, 2022
A simple Todo App with check complete function and filter todo. Made with React and TypeScript.

A simple Todo App with check complete function and filter todo. Made with React and TypeScript. The app can Add, Delete and Edit todo. Todo can be sorted by Complete or Active.

Bao Nguyen 9 Dec 6, 2022