I am stuck in this code

Tell us what’s happening:
Describe your issue in detail here.

  **Your code so far**
const JSX = (
  <h1>This is a block of JSX</h1>
  <p>Here's a subtitle</p>
/*there is some comment*/

  **Your browser information:**

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/ Safari/537.36

Challenge: Add Comments in JSX

Link to the challenge:

You should add the comment within your <div> element.

Also, your comment is wrong-wroten.

Example of comment:
{/* I love this part of the code */}

1 Like