andrea molinari14,850 Points
Goodmorning. Syntax problem
Good morning. I have this problem
<hi>Hi React </h1> ^ <p>AAA</p> </div>
) } React.render(<App />, document.getElementById('container'));
Can you help me?
Stuart Wright39,965 Points
Is the problem simply that you've used a <hi> tag rather than <h1> (letter i instead of number 1)?
I Dilate3,972 Points
You have a few syntax problems in your code there.
As Stuart mentioned, <hi> should definitely be an <h1>, but you must also encapsulate the string you're returning, for example using speech marks:
return ("<div><h1>Hi React</h1></div>");