How to enter js in html | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
0

How to enter js in html

Help me

23rd Mar 2020, 4:42 PM
⛓️Homme Dacier⛓️
⛓️Homme Dacier⛓️ - avatar
3 ответов
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>
23rd Mar 2020, 5:04 PM
The Boxed Person
The Boxed Person - avatar
+ 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.
23rd Mar 2020, 4:44 PM
CeePlusPlus
CeePlusPlus - avatar
0
How
23rd Mar 2020, 4:46 PM
⛓️Homme Dacier⛓️
⛓️Homme Dacier⛓️ - avatar