Tell us what’s happening:
Your code so far
// write your code here
const JSX = <div>
<p> </p>
</div>
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36
.
Link to the challenge:
Tell us what’s happening:
Your code so far
// write your code here
const JSX = <div>{
<h1>
<p>
<ul>
<li> one</li>
<li>two</li>
<li> three</li>
</ul>
</p>
</h1>
}
</div>;
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36
.
Link to the challenge:
https://learn.freecodecamp.org/front-end-libraries/react/create-a-complex-jsx-element
I have merged your topics. Please do not create multiple topics for the same issue.
You’re <div>
tags need to be in the brackets
i have already given the brackets
Read the challenge carefully!
- h1, p , ul with li tags should be inside the div tag
- then put the div inside parentheses and try to submit again
1 Like
But your Div’s are in the wrong place.
1 Like