diff --git a/src/App.js b/src/App.js index 3fa11c2..007aa02 100644 --- a/src/App.js +++ b/src/App.js @@ -1,36 +1,44 @@ import React from 'react'; /** - * Return HTML skeleton for todo list. + * Map items from an array to HTML. */ function App() { + const items = [ + { + id: 1, + text: 'Take out the trash', + completed: false + }, + { + id: 2, + text: 'Buy bread', + completed: false + }, + { + id: 3, + text: 'Teach penguins to fly', + completed: true + } + ]; + return (