Move inline script code to own file and namespace the initialization of he survey-results should be moved to away from the html code to add tests and make it more readable and obvious what's going on.
just move all the code into a namespace and add an init method
add a few helpers methods (update_text, create_list) to seperate the DOM
access from the code generating the result
What does this PR do?
Move inline script code to own file and namespace the initialization of he survey-results should be moved to away from the html code to add tests and make it more readable and obvious what's going on.
just move all the code into a namespace and add an init method add a few helpers methods (update_text, create_list) to seperate the DOM access from the code generating the result