How can you add JavaScript in a HTML page | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How can you add JavaScript in a HTML page

17th Sep 2020, 10:03 AM
Itz Wright
Itz Wright - avatar
6 Answers
+ 7
<script> Js code </script> external js <script src="path" />
17th Sep 2020, 10:06 AM
TOLUENE
TOLUENE - avatar
+ 3
Just start learning JavaScript in sololearn you will know everything then.
17th Sep 2020, 10:10 AM
Emily Swans
Emily Swans - avatar
17th Sep 2020, 10:05 AM
The future is now thanks to science
The future is now thanks to science - avatar
+ 2
Itz Wright Use the <script> tag Put the javascript in the script tag while applying javascript in html page, You can put the script in head tag or at the end of the body
17th Sep 2020, 10:06 AM
‎Ashwin Maurya
‎Ashwin Maurya - avatar
+ 2
Just start coding in JS tab that's all
17th Sep 2020, 10:17 AM
Atoms~⚛
Atoms~⚛ - avatar