freeCodeCamp Challenge Guide: Create a Simple JSX Element

Create a Simple JSX Element


Solutions

Solution 1 (Click to Show/Hide)

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>;
2 Likes