jedfoster / orange-moose

Created with CodeSandbox

Home Page:https://codesandbox.io/s/github/jedfoster/orange-moose

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Code Exercise

We will build a simple ToDo list app.

There is a mockup PNG in the file list to your left. You may find it useful to open that image in a new window. Design specs are listed below, as well as in src/ToDo.css.

Desired functionality

  • Add new items
  • Toggle completion state by clicking on an item

Pay attention to

  • Semantic markup
  • Form behaviors

Code notes

Your ToDo component receives initial data in a prop, data.

An individual item is an object in the form of:

  {
    "id": String,
    "completed": Boolean,
    "text": String
  }

See src/data.json for more.

Design specs

  • Border gray: #979797
  • Fill gray: #D5D5D5
  • Completed text gray: #AAAAAA
  • Yellow: rgba(248, 210, 9, 60)
  • Placeholder/Button text color: rgba(74, 74, 74, 60)
  • Input/Button border-radius: 0.5em

About

Created with CodeSandbox

https://codesandbox.io/s/github/jedfoster/orange-moose


Languages

Language:HTML 73.3%Language:CSS 15.3%Language:JavaScript 11.5%