Where do I put the div in the code for the jsx outer elements


#1

var whiteHouseHomePage = (
<div img src="pics/dope-buildings/whitehouse.jpg" >
	<h1>
		Hi!  I am President!  Thank u for visiting white house .gov on the internet!
	</h1>
	<article>
		OMG I had the tastiest sandwich today.  I <strong>literally</strong> almost freaked out.
	</article>
);
  </div>

What do I do.


#2

You have a multi-line JSX expression there, so you've wrapped the whole expression in ( ) -- except that you haven't quite done that.

Can you see the problem now?


#3

@terawhiz05384, did you get this exercise sorted?


#4

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