Answer:
Following are the code to this question:
var id= document.createElement('script');//defining id varaible that uses the createElement method
ld.src = "https://code.jquery.com/jquery-3.5.1.min.js";//defining id varaible with src that holds the source link
alert("The loaded Script is: ");//defining alert box that print Script loaded.
Explanation:
In the above-given code, an id variable is defined that uses the createElement method, which helps to create the specified name with the Element Node, and in the next line, it uses the src with the id variable, that store the link, it also helps to loads the 3rd party script, which is displayed in an alert msg box.