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

0

How to enter js in html

Help me

...

3/23/2020 4:42:35 PM

Μôč¢¥ Xåñ.

3 Answers

New Answer

0

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>

+1

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.

0