React - Add Comments in JSX

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>

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: React - Add Comments in JSX

Link to the challenge:

{/* */}

You have to put comment inside div.
Comments in jsx : {/* this is a comment */}

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