Answer the question
In order to leave comments, you need to log in
How to edit JS code to work properly after pasting into HTML?
Hello, how to edit the JS code so that it works correctly after inserting into HTML.
The code itself (original): codepen.io/javve/pen/bBfgD
My code: https://dropmefiles.com/AzLrQ
How to do it right?
Answer the question
In order to leave comments, you need to log in
If I understand you correctly, then you need a template engine.
For example: Handlebars
<script>код на JS</script>
does this option not work for you? what exactly doesn't work?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question