From 5c1120092e05d4371f88a7703b87c211286807f4 Mon Sep 17 00:00:00 2001 From: Augusto Gunsch Date: Sun, 12 Jun 2022 11:37:29 +0200 Subject: [PATCH] Make 1.1 as it should be --- part1/courseinfo/src/App.js | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/part1/courseinfo/src/App.js b/part1/courseinfo/src/App.js index 0009256..f794dc8 100644 --- a/part1/courseinfo/src/App.js +++ b/part1/courseinfo/src/App.js @@ -3,7 +3,11 @@ const Header = (props) => ( ) const Content = (props) => ( -

{props.part} {props.exercise}

+
+

{props.part1} {props.exercise1}

+

{props.part2} {props.exercise2}

+

{props.part3} {props.exercise3}

+
) const Total = (props) => ( @@ -22,9 +26,7 @@ const App = () => { return (
- - - +
)