+ 2
Why won’t this work?
why won’t the code work? https://code.sololearn.com/WK01P7pWV8fd/?ref=app
1 ответ
+ 2
The Sololearn editor considers line 37 '</script>' as the end of your JavaScript code. You can avoid this by escaping the less than and slash characters - '\<\/script>' or using concatenation '<' + '/script>'. Either way will resolve the issue.