React - Add Comments in JSX

Hello Everyone,
A seemingly simple challenge has been holding me stagnant for many days. I think I was doing everything the right way. Yet I couldn’t pass the challenge. Below is my code. Your help is so very needed. Thanks

  **Your code so far**
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/103.0.0.0 Safari/537.36

Challenge: React - Add Comments in JSX

Link to the challenge:

Dear Randell,
Thanks a lot. Your intervention was much helpful.

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