+ 2
5 Antworten
+ 6
Add this comment above the codes
//</script><script type="text/babel">
https://code.sololearn.com/W94152Jib6os/?ref=app
+ 4
This is specifically for SoloLearn code playground. Due to the design nature of code playground, it adds the codes from JS pane into head tag with <script></script> tag enclosed.
Try to run the code from pc, open the dev tools to examine the codes, you would understand more.
comment would be by passed and ignored by JS execution, but it would be parsed by HTML.
+ 2
Just cut the JS part of the code and paste it in between script tag below div tag 😊
+ 2
ok sir... thank you ❤️