• Stars
    star
    136
  • Rank 267,670 (Top 6 %)
  • Language
    HTML
  • License
    MIT License
  • Created about 7 years ago
  • Updated about 4 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Basic todo app functionality without using JavaScript

CSS Todo App

Basic todo app functionality implemented without using JavaScript. Instead it uses pre-rendered HTML, the ~ combinator, CSS counters, and the :checked and :target pseudo selectors.

Styling based on TodoMVC.

Live demo
Blog post on how it works

What works

  • Add new todo item (up to 50 items)
  • Mark items as done
  • Delete items
  • Filter items (done/not done)
  • Show number of items left to do
  • Don't allow add empty items

What doesn't work

  • Persistence after page reload
  • Mark all as done
  • Create item by pressing enter

Source code

node generate.js creates the index.html file. todos.css contains the styles.

More Repositories

1

FromJS

See where each character on the screen came from in code.
JavaScript
540
star
2

javascript-breakpoint-collection

Find what code is causing a browser behavior.
JavaScript
136
star
3

immutable-object-formatter-extension

Make ImmutableJS objects more readable when viewed in Chrome DevTools
JavaScript
135
star
4

OctoTern

Jump to variable definition on Github
JavaScript
101
star
5

ElementHistory

See what code created or updated a DOM element
JavaScript
29
star
6

Hacker-News-For-X

News aggregators and communities similar to Hacker News
18
star
7

javascript-clock-speedup

Simulate a faster Date object for debugging purposes.
JavaScript
12
star
8

Minimal-React-Redux-Example

Compact example of setting up Redux.
JavaScript
10
star
9

minmal-Backbone.localStorage-example

Adds notes to a collection and stores them in local storage using https://github.com/jeromegn/Backbone.localStorage.
JavaScript
9
star
10

Object-History-Debugger

See where an object's property values were assigned, plus a history of past values.
JavaScript
9
star
11

JavaScript-Dynamic-Analysis

Dynamic Analysis Tools and Resources
8
star
12

react-with-context

Pass context into React components in your unit test.
JavaScript
8
star
13

super-simple-neural-network

JavaScript
6
star
14

babel-plugin-demo

JavaScript
6
star
15

stacktrace-js-example

An example showing how to resolve a production stack trace using source maps and StackTrace.JS
JavaScript
5
star
16

react-immutable-example

Demo of shouldComponentUpdate and Immutable.js with React.
JavaScript
4
star
17

mattzeunert.github.io

JavaScript
3
star
18

reagic

JavaScript
3
star
19

uk-employment-map

JavaScript
3
star
20

babel-workshop

A workshop about Babel and ASTs
JavaScript
3
star
21

lh-for-fromjs

2
star
22

grunt-svg-cleaner

JavaScript
2
star
23

glasswing

Read source code annotated with runtime variable values.
JavaScript
2
star
24

o-fetch

JavaScript
2
star
25

namespace-logger

Log addition or removal of fields to javascript namespaces - for example global variables in window.*
JavaScript
2
star
26

rexamples-static

HTML
2
star
27

vAnnotate

Visualize program state during execution.
JavaScript
2
star
28

grunt-mutation-testing-example

JavaScript
1
star
29

preact-netlify

JavaScript
1
star
30

code-readability

HTML
1
star
31

obj-prop-bug-demo

JavaScript
1
star
32

javascript-array-memory-consumption

HTML
1
star
33

puppeteer-issue-demo

1
star
34

js-code-browser

1
star
35

CodePathDiff

JavaScript
1
star
36

service-worker-test

JavaScript
1
star
37

content-script-injected-code-executed-late

JavaScript
1
star
38

fromjs-test-cases

JavaScript
1
star
39

nextjs111

JavaScript
1
star
40

react-netlify

JavaScript
1
star
41

neat-starter

HTML
1
star
42

devtools-never-pause-here-demo

An app to demonstrate a use case for Chrome's "Never Pause Here" feature.
JavaScript
1
star
43

source-maps-support-playground

JavaScript
1
star