Why is this code not working! Add Comments in JSX

Tell us what’s happening:
Why is this not working? Is it wrong?

   **Your code so far**

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

   **Your browser information:**

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

Challenge: Add Comments in JSX

Link to the challenge:

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.