0% completed
Follow these instructions to complete your challenge:
UserInfo
in the App.jsx
file.UserInfo
component should receive name and email as props and display them inside an <h2>
and <p>
tag, respectively.App
component, pass the values "Alice Johnson" for name and "alice@example.com" for email to UserInfo
.User: Alice Johnson Email: alice@example.com
Follow these instructions to complete your challenge:
App.jsx
file, create two functional components: Parent
, and Child
.App
component, define a variable called message with the value "Hello from App!".App
to Parent
, and then from Parent
to Child
.component
, display the message inside an <h3>
tag.Hello from App!
.....
.....
.....