0

Why is my external javascript not linking with my html in my phone

!DOCTYPE html> <html> <head> <title>Page Title</title> </head> <body> <h1>Sololearn</h1> </body> <script src = 'app.js'></script> </html>

23rd Apr 2020, 5:16 AM
Istifanus Dlama
Istifanus Dlama - avatar
1 Réponse
0
You need to make sure that the html file and the js file are in the same directory
23rd Apr 2020, 5:43 AM
Gordon
Gordon - avatar