make code in both dom.js and test.js the following:
var state = [
{ id: -3, description: 'first todo', done: true },
{ id: -2, description: 'second todo', done: false },
{ id: -1, description: 'third todo', done: false }
];
to test that the css class has been added when you check items as marked
make code in both dom.js and test.js the following:
var state = [ { id: -3, description: 'first todo', done: true }, { id: -2, description: 'second todo', done: false }, { id: -1, description: 'third todo', done: false } ]; to test that the css class has been added when you check items as marked