Code Monkey home page Code Monkey logo

react-todo-list's Introduction

Lab: React Todo List

It's time to practice what you've learnt about React!

Instructions

Getting started

  • Fork the repo
  • Clone the repo
  • cd into the directory and run npm install
  • Run tests: npm test
  • Start application: npm start and go to localhost:3000 in your browser

Tasks

  • Note: for each task, write tests for each component/functionality!
  • Create the following components:
    • TodoList
      • import the todos defined in seedData.js and set it in TodoList's state
    • Todo
      • Allow user to mark a Todo as done by clicking on it
      • Add strikethrough style to a Todo when user marks it as done
    • TodoFilterBar
      • Allow user to filter todos by inputting a search string and hitting a 'Filter' button. Todos that do not match the search string should be hidden from display
      • Allow user to see all Todos again when he hits a 'See all todos' button
    • TodoCreationBar
      • Allow user to add a todo by inputting a string and hitting a 'Add todo' button

Copyright (c) 2018 ThoughtWorks. For personal use and training purposes only; not to be copied or distributed without further approval.

react-todo-list's People

Contributors

davidtan-tw avatar davified avatar aoi-ue avatar

Watchers

James Cloos avatar

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.