How to enter js in html | Sololearn: Learn to code for FREE!


How to enter js in html

Help me


3/23/2020 4:42:35 PM

Μôč¢¥ Xåñ.

3 Answers

New Answer


143Lithiums ,to use multiple scripts just use the script tag the same way more than once. For example, <script> //some code </script> <script> //some more code </script> or <script src = "script.js"> //some code </script> <script sec = "script.js"> //some more code </script>


You can use the script tag to manually write JS or link the JS code to the HTML document. For example: <script type = "text/javascript"> //code </script> OR <script src = "script.js"> </script> FYI, you can use multiple scripts.