Skip to content

narulakeshav/react-checklist

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

React Checklist

A simple ReactJS todo checklist that allows you to add tasks and mark them as complete.
Link: React Checklist Link
React Screenshot

The Design of the App

ReactJS is the View V of the MVC that allows you to create simple and interactive User Interfaces. Since React is component-based, I used multiple components in order to pass the data down (top-down data flow) from the parent App to its children, perhaps the ListItem.

Components and Use

  • App.js - The root component, with states such as todoList: array that stores the todo list items, finished: number, percendDone: number.
  • AddItemBox.js - Input component that calls the add function of the App onInputEnter.
  • ItemsList.js - The <ul> component that calls the .map function and creates a list Item.
  • Item.js - The <li> component that stores the todo list task along with ItemOptions.
  • ItemOptions.js - Div component that has delete button to remove task from the todo list.
  • TodoStats.js - Series of <p> tags in the <div> component that displayed total tasks, completed task, and percent of completed tasks.

About

Simple checklist using ReactJS

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published