Cant connect the external js to html file | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Cant connect the external js to html file

Not working... 01.js . <body> <script> alert("alert box"); </script> </body> 02.html <script src="01.js"></script>

6th Jun 2017, 11:49 PM
Aaquib Javed
Aaquib Javed - avatar
4 Answers
+ 3
have ur external style reference inside the head tag
7th Jun 2017, 1:47 AM
Nanda Balakrishnan
+ 1
You need to define the script: <script type=
6th Jun 2017, 11:51 PM
BGMead
BGMead - avatar
+ 1
Still not working
6th Jun 2017, 11:53 PM
Aaquib Javed
Aaquib Javed - avatar
- 1
please your question suggests you have not seen the tutorial at all please reread it
7th Jun 2017, 2:50 AM
Abdur-Rahmaan Janhangeer
Abdur-Rahmaan Janhangeer - avatar