You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create a <Footer /> component which should be rendered at the bottom of the page. Pass the following array as a prop to this component: ["123 Fake Street, London, E1 4UD", "[email protected]", "0123 456789"]. Inside the component, use the data you passed as a prop to render a <ul> list with each item of the array displayed as a <li>.
Hint: The .map() method will be useful.
Test:
The footer should render at the bottom of the page with each address property displayed as a list item.
The text was updated successfully, but these errors were encountered:
From React-Module-Project created by SallyMcGrath: CodeYourFuture#5
Instructions:
Create a
<Footer />
component which should be rendered at the bottom of the page. Pass the following array as a prop to this component:["123 Fake Street, London, E1 4UD", "[email protected]", "0123 456789"]
. Inside the component, use the data you passed as a prop to render a<ul>
list with each item of the array displayed as a<li>
.Hint: The
.map()
method will be useful.Test:
The footer should render at the bottom of the page with each address property displayed as a list item.
The text was updated successfully, but these errors were encountered: