Coder Social home page Coder Social logo

to-do-list's Introduction

To-Do list

One paragraph statement about the project.

Additional description about the project and its features.

Built With

  • Major languages : HTML, CSS, Javascript.
  • Other modules: npm, webpack

Live Demo

Live Demo Link

Usage

To build the project run :

$ npm install
$ npm run build

Run tests

Deployment

In development environment use the following command:

$ npm run dev

Authors

๐Ÿ‘ค Mehdi Rahal

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

to-do-list's People

Contributors

mehdi-rh avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

to-do-list's Issues

week2 - Morning session

Hello,
โœ”๏ธ your logic looks wonderful, and I love the Read me file too
โœ”๏ธ your folder organization is great too
โœ”๏ธ you implemented all features as instruction .
some suggestion:
your index.js file can be smaller and divided to two or three js file.

Morning session review

You did a great job ๐Ÿ‘๐Ÿผ ๐Ÿ‘๐Ÿผ
To highlight ๐Ÿ’ช๐Ÿป
No linter errors. โœ”๏ธ
Good commit history โœ”๏ธ
๐Ÿ‘ Good job!
Optional changes:
It will be better if you divide your js function into some files, It will be more readable and reuseable in future projects.

DRY issue

In the src/classes.js file a repeated set item to local storage which could be refactored into a simple function

Update the README file

You have done a great job, by implementing the required tasks such as ๐Ÿ‘

  • โœ”๏ธ removing button
  • โœ”๏ธ adding button
  • โœ”๏ธ storing data in local storage
  • โœ”๏ธ Generate dynamically with JavaScript

But we would suggest updating your README file because both your live demo and MIT links are broken, please create an MIT file(MIT.md) within your project and use the correct link to display your live demo by adding(dist/) at the end of your demo link.

Kiss issue

There are many old for loop that can be replaced by a ForEach loop

Yagni issue

The piece of code below can be refactored into only one line

if (completed) {
ToDo.task[index].completed = true;
} else {
ToDo.task[index].completed = false;
}

Refactoring:
ToDo.task[index] = !!completed

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.