Code Monkey home page Code Monkey logo

to-do-list's Introduction

To-Do-List App

This is my to-do list website built with html, css and JavaScript. In this project I used Webpack to bundle JavaScript and ES6 modules to write modular JavaScript.

screenshot

Built With

  • Webpack
  • HTML
  • CSS
  • Modular JavaScript (with modern ES6 syntax)

Live Demo

Live Demo Link

Getting Started

Setup

git clone https://github.com/Mwapsam/To-Do-List.git

Execute the following commands on your terminal

npm install
npm start

Prerequisites

You need to have NODE.JS set up on your local machine.

Deployment

Execute the following commands on your terminal

npm run build
npm run deploy

It will open your browser with the project homepage

๐Ÿ‘ค ## Author

๐Ÿค 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!

๐Ÿ“ License

This project is MIT licensed.

to-do-list's People

Contributors

mrparkersson avatar mwapsam avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

to-do-list's Issues

JavaScript best practices

Below are the issues noticed based on HTML, CSS, and JavaScript best practices

  • Consider wrapping the parent div in a section and replacing the p tag with an h1 tag in the index, this will conform to the HTML semantics rules (every HTML page should have at least one h1 tag)
  • Consider refactoring your code to ES6 classes because their syntax is way cleaner and easier to understand.
  • It would be nice to refactor the loop in crud.js to use ForEach loop instead of the good old for loop
  • Consider pushing all variable declarations to the beginning of the block

Peer-to-peer code reviews

Hello @Mwapsam,
We loved your project ๐Ÿ’ฏ and the javascript was very well structured. The code was DRY and you kept it simple.
However, there are a few issues to air out in order to take improve your project:
[Optional]

  • Kindly consider separating the test from the modules folder, the reason is to give better organization for the project
  • it would be better to create a new folder and name it __test__ where you can the tests because it is the folder jest looks for to run your tests by default.

Peer to Peer Review

Hey @Mwapsam you did a good job far but there are some issues to highlight ๐Ÿ‘

  • Instead of storing just the task description in the array it would be better to create an object that has a description, completed, and index keys. It will make it easy to track the tasks.
  • Try to create a single function that just loads and updates the localStorage.
  • Try to run this command npx eslint . --fix to fix JavaScript linters.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.