I need help with this code

I can’t pass this challenge, help anyone?

My code so far



const JSX = (
<div>
  <h1>This is a block of JSX</h1>
  <p>Here's a subtitle</p>
  
</div>
);

My browser information:

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

Challenge: Add Comments in JSX

Link to the challenge:

I founded!

const JSX = (
  <div>
    {/* Comment here */}
    <h1>This is a block of JSX</h1>
    <p>Here's a subtitle</p>
  </div>
);

1 Like