diff --git a/road-toreact-project/src/App.js b/road-toreact-project/src/App.js index 3784575..ca53b8c 100644 --- a/road-toreact-project/src/App.js +++ b/road-toreact-project/src/App.js @@ -1,25 +1,20 @@ -import logo from './logo.svg'; -import './App.css'; - -function App() { +import * as React from 'react'; +function getTitle(title){ + return title; +} +const todoList = [ + { id: 1, title: "Complete assignment" }, + { id: 2, title: "Buy groceries" }, + { id: 3, title: "Go for a run" } +]; +function App(){ return ( -
-
- logo -

- Edit src/App.js and save to reload. -

- - Learn React - -
-
+
+

ToDoList

+ +
); } - -export default App; +export default App; \ No newline at end of file