Why won’t this work? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
22nd Aug 2023, 11:09 PM
Defying Gravity
Defying Gravity - avatar
1 Answer
+ 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.
23rd Aug 2023, 3:04 AM
ODLNT
ODLNT - avatar