React - Create a Complex JSX Element

How do i return a div element?

Const JSX = return <div> 
              <h1></h1>:
              <p></p>:
              <ul>:
              <li></li>
              <li></li>
              <li></li>
              </ul>
            </div>;

Your browser information:

User Agent is: Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Mobile Safari/537.36

Challenge Information:

React - Create a Complex JSX Element

Hi @sevelyne

  1. the Const keyword needs to start with a lower case letter
  2. remove the return statement
  3. remove the colons

Happy coding

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