0
newbe ques- please i just need to understand how to attach external script?
i created 2 files 1st is- html, 2nd is-js after i inserted the code and run the html file its giving me blank page this is the code for the html: <html> <head> <title> </title> <script src="demo.js"></script> </head> <body> </body> </html> this is for the js file: Your demo.js file includes the following JavaScript: alert("This is an alert box!"); please just got started i must understand this basic principles! thanks ahead.
1 Réponse
0
Try to put a script tag into the body tag.