diff --git a/resources/questions/scenarios.js b/resources/questions/scenarios.js index 64da714..c5870bb 100644 --- a/resources/questions/scenarios.js +++ b/resources/questions/scenarios.js @@ -2,7 +2,7 @@ window.onload = function(){ addScenario = function(scenario){ - let $liElement = $("
") + let $liElement = $("") if(scenario.adult == true){ $adultText = $("(question for those over the age of 18... or those mature enough)
"); @@ -12,16 +12,15 @@ window.onload = function(){ $options = $("" + scenario.question + "
"); - $input = $(""); - + $textArea = $("") $liElement.append($description); $liElement.append($options); - $liElement.append($input); + $liElement.append($textArea); $("#scenarios").append($liElement); }