JavaScript lies in HTML? | Sololearn: Learn to code for FREE!
¡Nuevo curso! ¡Todo programador debería aprender IA Generativa!
Prueba una lección gratuita
+ 1

JavaScript lies in HTML?

JavaScript lies in HTML

7th Jul 2019, 3:28 AM
Alan Walker(飞•龙•君)
2 Respuestas
+ 6
I don't understand the question 😅 Do you mean? How can we add JavaScript in HTML ? Use this code <Script> <!-- here you can write your JavaScript code --> </Script>
7th Jul 2019, 3:33 AM
KingDaniel2004
KingDaniel2004 - avatar
+ 1
what king daniel said is very true for internal scripts...but for external js you have to its a link to your external javascript file... ex. <script src="main.js" > </script>
7th Jul 2019, 11:15 AM
kay cruz
kay cruz - avatar