diff --git a/src/App.js b/src/App.js index 2fe6d64..5e457be 100644 --- a/src/App.js +++ b/src/App.js @@ -16,49 +16,49 @@ function App(props) { {/* send in a prop called "message", give it the string "Hello World" */}
This better say "Hello World":
{/* send in a prop called "message", give it the string "Goodbye World" */} -
This better say "Goodbye World":
+
This better say "Goodbye World":
{/* send in a prop called "message", give it the string "Props are awesome" */} -
This better say "Props are awesome":
+
This better say "Props are awesome":
{/* send in a prop called "message", give it the string "I totally get this now" */} -
This better say "I totally get this now":
+
This better say "I totally get this now":
{/* send in a prop called "magicNumber", give it the number 42*/} -
This better say 42:
+
This better say 42:
{/* send in a prop called "magicNumber", give it the number 21*/} -
This better say 21:
+
This better say 21:
{/* send in a prop called "product", give it the variable product*/} -
This better say "ajax":
+
This better say "ajax":
{/* send in a prop called "product", give it an object with a name property "pepsi"*/} -
This better say "pepsi":
+
This better say "pepsi":
{/* send in a prop called "product", give it an object with a name property "nike"*/} -
This better say "nike":
+
This better say "nike":
{/* send in a prop called "names", give it the variable names*/} -
This better say "Bob, Stand, Todd, Ted" :
+
This better say "Bob, Stand, Todd, Ted" :
{/* send in a prop called "names", give it an array ["Brodie","Alicia","Margo"]*/} -
This better say "Brodie, Alicia, Margo" :
+
This better say "Brodie, Alicia, Margo" :
{/* send in a prop called "names", give it an array ["Titus","Axel","Claire"]*/} -
This better say "Titus, Axel, Claire" :
+
This better say "Titus, Axel, Claire" :
{/* Use App's props*/} {/* send in a prop called "products", give it the products array from App's props*/} -
This better say "Hand Sanitizer":
+
This better say "Hand Sanitizer":
{/* send in a prop called "names", give it the names array from App's props*/} -
This better say "Robin, Lily, Barney":
+
This better say "Robin, Lily, Barney":
{/* send in a prop called "magicNumber", give it the magicNumber from App's props*/} -
This better say "99":
+
This better say "99":
{/* send in a prop called "message", give it the contact.firstName from App's props*/} -
This better say "Luke":
+
This better say "Luke":
{/* send in a prop called "message", give it the contact.lastName from App's props*/} -
This better say "Skywalker":
+
This better say "Skywalker":
{/* send in a prop called "message", give it the contact.occupation from App's props*/} -
This better say "farmer":
+
This better say "farmer":
{/* send in a prop called "message", give it the contact.address from App's props*/} -
This better say "300 MiddleOfNoWhere st Tatooine":
+
This better say "300 MiddleOfNoWhere st Tatooine":
);