This is my To-do-list project for my Javascript module at Microverse.

Overview

To do List

This is a To do list project built for learning purposes.

Built With

  • HTML
  • Bootstrap
  • Javascript
  • CSS
  • HTML Webpack

How to use it

Clone the repository using Github Desktop or by command line using the following command on the folder you want the repository to be:

Now use the following commands to setup the project

  • npm init -y
  • npm install webpack webpack-cli --save-dev
  • npm install --save lodash
  • npm install --save-dev html-webpack-plugin
  • npm install --save-dev style-loader css-loader
  • npm run build

Live Version

Author

👤 Jonathas Tavares

🤝 Contributing

Contributions, issues and feature requests are welcome!

License

This project is MIT licensed.

Show your support

Give a ⭐️ if you like this project!

Comments
  • Do I follow JavaScript best practices?

    Do I follow JavaScript best practices?

    HTML and CSS looks Ok in my project.

    *** list.js *** static getDeleteButton(id) { const deletebtns = document.querySelectorAll('button[type=submit][id=delete-btn'); const deletebtn = deletebtns[id]; return deletebtn; } Line 80 - getDeleteButton function is not being used, I can comment/remove this part of code. YAGNI

    static completeItem(event) { const listArray = List.dataArray(); if (listArray[event.target.value - 1].completed === false) { listArray[event.target.value - 1].completed = true; localStorage.setItem('listArray', JSON.stringify(listArray)); } else { listArray[event.target.value - 1].completed = false; localStorage.setItem('listArray', JSON.stringify(listArray)); } } Line 96 and Line 99 - Repeated same line inside both If's conditions, I could place this line after the IF statement and remove 1 line of the function, because this one will be executed independent of which IF condition are we in.

    opened by jonathastavares 1
  • Milestone # 1 - List Structure

    Milestone # 1 - List Structure

    Pull request for milestone # 1

    I've already finished this project last week, It's fully working with all functionalities, a pull request was created for project review.

    Built with:

    • HTML
    • CSS
    • Bootstrap
    • Javascript
    • Webpack
    opened by jonathastavares 1
  • Tests Milestone # 2

    Tests Milestone # 2

    In this milestone, we added positive and negative tests for Editing, Completed, and Clear all Completed functions.

    Built with:

    • HTML
    • CSS
    • JavaScript
    • Jest
    • Bootstrap
    • Webpack
    hacktoberfest-accepted 
    opened by jonathastavares 0
  • Tests Milestone #1

    Tests Milestone #1

    This is the milestone 1 of To Do List testing, in this milestone, we added tests for add and remove functions.

    Built with:

    • HTML
    • CSS
    • Javascript
    • Jest
    • Bootstrap
    hacktoberfest-accepted 
    opened by jonathastavares 0
  • Milestone #2 - Add EventListeners to checkboxes

    Milestone #2 - Add EventListeners to checkboxes

    In this milestone, I added EventListeners to the checkboxes, and now I am able to update the completed status for true or false.

    Built with:

    • HTML
    • CSS
    • Javascript
    • Webpack
    opened by jonathastavares 0
Owner
Jonathas Tavares
FullStack Web Developer with knowledge in HTML, CSS, JavaScript, Ruby, Ruby on Rails, React, and Redux. Looking for new challenges, and opportunities.
Jonathas Tavares
🔬 list user's npm pkgs sorted by monthly downloads

npm maintainer dash list a user's npm packages sorted by monthly downloads very experimental proof of concept, not to be relied upon even a little bit

Nate Goldman 3 Feb 15, 2022
Travel Lovers - an application that allows a travel enthusiast to create an account to log past, upcoming, and bucket-list trips

Travel Lovers Table of Contents Description Tools Used Installation Instructions Usage License Tests Questions Description Travel Lovers is an applica

Nicholas Nolen 5 Aug 31, 2022
A simple implementation of a task list application that can be used to add, remove, edit and check users tasks

"To-do list" is a tool that helps to organize daily activites. It simply lists the things which are needed to be done and allows user to mark them as complete. In this step of project, the CRUD (create, update, delete) methods are implemented. This simple web page is built using webpack and served by a webpack dev server.

Zahra Arshia 5 Mar 28, 2022
A Project maintaining Repository ! Hosted for Hacktoberfest 2021.

HacktoberFest 2021 Hacktoberfest encourages participation in giving back to the open source community by completing pull requests, participating in ev

Tenet Coding 20 Oct 9, 2022
A prebuilt Express JS Authentication & Authorization Project based on a REST API interface.

A prebuilt Express JS Authentication & Authorization Project based on a REST API interface. It has the basic authentication and Authorization routes with the latest security measures implemented so that your application is much more secure from day 1. You are welcome to build upon and extend this project as and when required.

Soumalya Bhattacharya 2 Oct 7, 2022
DisOwen project - Makes it easy and fun to use Discord

DisOwen project - Makes it easy and fun to use Discord. Also first userbot for Discord

Ber4tbey 7 Aug 4, 2022
An arbitrary size Bit-Vector implementation in JavaScript

BitSet.js BitSet.js is an infinite Bit-Array (aka bit vector, bit string, bit set) implementation in JavaScript. That means that if you invert a bit v

Robert Eisele 207 Dec 9, 2022
SPOILER ALERT! A happy little bit of javascript to hide spoilers on your site.

SPOILER ALERT! Don't spoil it! Hide copy and images with a bit of SVG blur. Taste on mouseover. Eat on click. Do you publish spoilers? Do you wish you

Joshua Hull 473 Sep 27, 2022
JavaScript Survey and Form Library

SurveyJS is a JavaScript Survey and Form Library. SurveyJS is a modern way to add surveys and forms to your website. It has versions for Angular, jQue

SurveyJS 3.5k Jan 1, 2023
⚡️ A resource to help figure out what JavaScript array method would be best to use at any given time

JavaScript Array Explorer When I was first learning array methods, I spent a lot of time digging through the docs to find the appropriate one, and I h

Sarah Drasner 2.6k Jan 2, 2023
🌳 Tiny & elegant JavaScript HTTP client based on the browser Fetch API

Huge thanks to for sponsoring me! Ky is a tiny and elegant HTTP client based on the browser Fetch API Ky targets modern browsers and Deno. For older b

Sindre Sorhus 8.5k Jan 2, 2023
Extensive math expression evaluator library for JavaScript and Node.js

?? Homepage Fcaljs is an extensive math expression evaluator library for JavaScript and Node.js. Using fcal, you can perform basic arithmetic, percent

Santhosh Kumar 93 Dec 19, 2022
Vanilla JavaScript emoji picker component

Vanilla JavaScript emoji picker ?? Screenshot Demo and Documentation https://emoji-button.js.org Features ?? Vanilla JS, use with any framework ?? Use

Joe Attardi 1.1k Dec 31, 2022
📝 Algorithms and data structures implemented in JavaScript with explanations and links to further readings

JavaScript Algorithms and Data Structures This repository contains JavaScript based examples of many popular algorithms and data structures. Each algo

Oleksii Trekhleb 158k Dec 31, 2022
A JavaScript, zero-dependency, super small version of IP2Location LITE country lookups.

A JavaScript, zero-dependency, super small version of IP2Location LITE country lookups.

Statsig 34 Dec 14, 2022
An easy to use, yet advanced and fully customizable javascript/jQuery paginator plugin

anyPaginator An easy to use, yet advanced and fully customizable Javascript/jQuery paginator plugin. anyPaginator is a spinoff of the anyList project

Arne Morken 2 Feb 17, 2022
Shikimori.ts - JavaScript & TypeScript wrapper for shikimori.one

shikimori.ts shikimori.ts - JavaScript & TypeScript wrapper for shikimori.one Features Full TypeScript support Support all platforms Easy to use Table

null 5 Sep 15, 2022
This library was designed to be used in SPA framework wrappers for the FingerprintJS Pro Javascript Agent

Framework-agnostic SPA service wrapper. Use it to build a FingerprintJS Pro wrapper for your favorite framework.

FingerprintJS 12 Sep 3, 2022
ChelseaJS - a Javascript library for creative, generative Coding

ChelseaJS is a Javascript library for creative, generative Coding. It's simple and intuitive syntax makes it easy for everyone (including non-coders)

Prakrisht Dahiya 26 Oct 6, 2022