I have this HTML that I would like to append to current DOM…
<div class='reviews'>
<div class='review_rows'>
<div class='user'>
<div class='left'>
<div>Username</div>
<div>Province</div>
</div>
<div class='right'>
<div class='wrap'>
<img src='image.png' />
</div>
</div>
</div>
<div class='container_review'>
<div>
<div>
</div>
<div itemprop='description'>This will be JS variable</div>
<br />
<div>This will be JS variable</div>
<br />
<span class='num_rating'>4</span> out of <span class='num_rating'>5 stars</span>
</div>
</div>
</div>
</div>
I am using this function…
`$(".myClass:last-child").append("above code");`
i noticed when I cut and paste this into my editor that color code goes out of sync suggesting that it is not valid code. I guess my question is what is easiest way to handle append when you have large HTML to append?