0% completed
Follow these instructions to complete your challenge:
App.jsx
file found in the component/src
directory, create two separate functional components:
ComponentOne
that returns an <h1>
element with the text "This is Component One".ComponentTwo
that returns an <h1>
element with the text "This is Component Two".App
component, call ComponentOne
and ComponentTwo
in order, so they appear on the screen.This is Component One This is Component Two
Follow these instructions to complete your challenge:
component/src
directory, create two files and name them - ComponentOne.jsx
and ComponentTwo.jsx
.ComponentOne.jsx
file, create a functional component called ComponentOne
that returns an <h1>
element with the text "This is Component One".ComponentTwo.jsx
file, create a functional component called ComponentTwo
that returns an <h1>
element with the text "This is Component Two".App.jsx
file.App
component in the App.jsx
file, call ComponentOne
and ComponentTwo
in order, so they appear on the screen......
.....
.....