diff --git a/src/components/App.js b/src/components/App.js index e0f227ac3..5d3c1c3bd 100644 --- a/src/components/App.js +++ b/src/components/App.js @@ -1,21 +1,22 @@ import React from "react"; -import { format } from "date-fns"; import ExampleComponent from "./ExampleComponent"; +import TestComponent from "./TestComponent"; // Add your code own within the return statement function App() { return ( -
-

{format(new Date(), "MMMM do yyyy, h:mm:ss a")}

-

- In React apps, we write JSX - it looks like HTML, and uses a lot of HTML - syntax. JSX lets us include JavaScript functions right along with the - HTML, and also allows us to add in components, which are separate, - self-contained chunks of JSX. -

- -
- ); +
+

Now

+

+ In React apps, we write JSX - it looks like HTML, and uses a lot of HTML + syntax. JSX lets us include JavaScript functions right along with the + HTML, and also allows us to add in components, which are separate, + self-contained chunks of JSX. +

+ + +
+ ); } export default App;