Exercise 1.2
This commit is contained in:
parent
5c1120092e
commit
bf5349aea3
|
@ -2,11 +2,15 @@ const Header = (props) => (
|
||||||
<h1>{props.course}</h1>
|
<h1>{props.course}</h1>
|
||||||
)
|
)
|
||||||
|
|
||||||
|
const Part = (props) => (
|
||||||
|
<p>{props.part} {props.exercise}</p>
|
||||||
|
)
|
||||||
|
|
||||||
const Content = (props) => (
|
const Content = (props) => (
|
||||||
<div>
|
<div>
|
||||||
<p>{props.part1} {props.exercise1}</p>
|
<Part part={props.part1} exercise={props.exercise1} />
|
||||||
<p>{props.part2} {props.exercise2}</p>
|
<Part part={props.part2} exercise={props.exercise2} />
|
||||||
<p>{props.part3} {props.exercise3}</p>
|
<Part part={props.part3} exercise={props.exercise3} />
|
||||||
</div>
|
</div>
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue