window.onload = function(){ addScenario = function(object){ $adultText = $("
(question for those over the age of 18... or those mature enough)
"); $description = $( "One of your friends is upset. Someone has been harrassing them, asking"
+ "for innapropriate photos, constantly private messaging them without consent"
+ "
(THEIR NAME IS FUCKING GIO)
"
+ "Your friend is visibly uncomfortable, would would be your first action?
If this was happening to you, what would you choose instead?
") $input = $(""); $liElement = $("") $liElement.append($adultText); $liElement.append($description); $liElement.append($options); $liElement.append($input); console.table($liElement); $("#scenarios").append($liElement); } };