React - Create a Complex JSX Element

Tell us what’s happening:
Also… am i going actual crazy here…

what am i missing?

Your code so far

const MYJSX = 
    <li>list item 1</li>
    <li>list item 2</li>
    <li>list item 1</li>

Your browser information:

User Agent is: Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/114.0

Challenge: React - Create a Complex JSX Element

Link to the challenge:

Define a new constant JSX that renders a div which contains the following elements in order:

You wrote this:

const MYJSX =


liiike wow JSX …
is it like a function call
could i have put my whole
const MYJSX = ={ex: ex} into brackets like
{ const MYJSX ={ex: ex}}
like oputside of FCC ide?

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