Giter Site home page Giter Site logo

offline-todo's Introduction

offline-todo

Create an offline TODO App for the browser using React JS.

Key Features Required:

  • A simple input bar to add Todo(s) on pressing the return key.
  • A list of TODO cards where each todo is appended on creation.
  • Clicking on a TODO card should mark the TODO as complete and move it to the bottom of the list.
  • The active TODO cards should appear in order of creation (most recent on top), while the completed todo cards should appear in order of completion (most recent on top).
  • A reset button on the top right corner of the App to clear all Todo(s) and return to the initial state.
  • Hitting the refresh button (including hard refresh) in the browser should not cause any change in the state of the app (it should work like a regular offline app).

My Approach

  • I use local storage to store todos.
  • Use context API for state management.
  • use tailwindcss for styling.

Technology i used

ReactJS and TailwindCSS.

How to setup on local machine

To use this repository your machine should have VsCode ( or any code editor), node, npm, and git. Now check for this things is install or not :

  node --version
  npm --version
  git --version

Clone repository : open terminal and hit this command in your code editor

  git clone --branch master https://github.com/Honeshwar/offline-todo.git

Install dependencies :

  npm install

Now, run the application using this command :

  npm start

Screenshots

App Screenshot

App Screenshot

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.