+ 1

how can I use JavaScript code in HTML document?

I wanna use some Js code for some tags but how?

18th Sep 2016, 9:17 PM
Edris Askaryan
Edris Askaryan - avatar
3 Answers
+ 3
If I understand your question correctly, all you have to do is place your javascript in a <script> tag. Like so: <script> ...Javascript code... </script>
18th Sep 2016, 9:19 PM
Øivind Thorrud
Øivind Thorrud - avatar
0
:P I understand now why ask a non-sense thing
7th Oct 2016, 10:19 AM
DK-deadAnzle
DK-deadAnzle - avatar
- 2
yes I know that but I try to unlock my achievements😂 thanks bro
18th Sep 2016, 10:09 PM
Edris Askaryan
Edris Askaryan - avatar