I have this code:
<!-- language: lang-js -->var $section = $("<div>");
$section.html([
//Enter all your HTML code you want below
//S = String, U = User
'<div>',
'<h3>User Info</h3></br>',
`${LUname}: <span id="SUName"></span></br>`,
'`${LRank}`: <span id="SRank"></span></br>',
'`${LStateId}`: <span id="SStateId"></span></br>',
'`${LAm}`: <span id="SArea_Manager"></span></br>',
'`${LUId}`: <span id="SUId"></span></br>',
'`${LGlobalE}`: <span id="SGlobalE"></span></br>',
'`${LChatBanned}`: <span id="SChatBanned"></span>',
'`${LSegmentDel}`: <span id="SSegmentDel"></span>',
'`${LStreetChanges}`: <span id="SStreetChanges"></span>',
'</div>'
Before and after there is another code so don't worry.
But the thing is what I want what in the code where all the html goes, I want to use one variable of the JS but I wasn't able to get it to work, it isn't extracting nothing of the JS is just taking the HTML literally.