freeCodeCamp/guide/english/certifications/front-end-libraries/react/create-a-simple-jsx-element/index.md

281 B

title
Create a Simple JSX Element

Create a Simple JSX Element

This challenge is fairly simple, replace the div in the JSX element with h1

const JSX=<h1></h1>;

Then add the required text.

const JSX = <h1>Hello JSX!</h1>;