Code Monkey home page Code Monkey logo

todo-list's Introduction

ToDo list

A Vanilla JS ToDo list app.

Project Features/Todo List

  • Add a README.md to repository.
  • Add markup and style.
  • User can enter a todo item and add it to a list.
  • User can check an item off to mark it as done.
  • Data will persist even when user refreshes the page.
  • User can delete a todo list item.
  • Todo time "done" state persists with localStorage.

todo-list's People

Contributors

thecarlosalfaro avatar

Watchers

 avatar

todo-list's Issues

Tasks marked as 'Done' become normal tasks after refreshing the page.

Steps to reproduce the bug:

  • Add a new task
  • Click 'Done' button of the task
  • Refresh the page

The cause of the bug

The state of the task ( whether it is done or not ) is not stored in the localStorage. So, there is no way the app can check the state of the task.

Suggestion to fix the bug

This bug can be fixed by not only storing the name of the task but also storing the state of the task in the localStorage!

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.