- Fork and clone this lab. Then read the below deliverables and make all necessary changes to the app to get it to work.
- You are provided a
Header
component that is rendered inside ofApp
Header
should have atext
key in its props that evaluates to a string that says "Hello World"- Header should append the value of this prop to the DOM
-
NotesContainer
has anapiResponse
method that returns an array of note objects -
NotesContainer
is responsible for rendering multipleNote
components -
Each
Note
component should be able to access thenote
key inside of its props and print the value of the note'scontent
to the DOM as ali
tag -
The
NotesContainer
should be rendered underneath theHeader
on the DOM -
You can run
npm run lab
to test your code. However, you should use both TDD and BDD to confirm successful functionality