React - Add Comments in JSX

i cant understand the problem now

Your code so far

const JSX = (
  <div>
    {/*<h1>Hanoi University of Science</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/114.0.0.0 Safari/537.36 Edg/114.0.1823.67

Challenge: React - Add Comments in JSX

Link to the challenge:

Add a comment somewhere within the provided div element, without modifying the existing h1 or p elements.

You have commented out the h1 element.

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