2. Open text editor and write the following codes.
var txt = "<b>Welcome to TNW (Web Service & ICT Solutions)!</b><br /><br /> TNW provides the best ICT Solutions for your business by the reasonable price.";
document.getElementById("demo").innerHTML = txt;
3. Save the file as tnw.js in the new folder.
1. Create new file and write the following codes.
<title>TNW (Web Service & ICT Solutions)</title>
<p id = "demo">TNW</p>
<button type = "button" onclick = "myFun()">Click Here</button>
2. Save the file as tnw.html in the new folder and try to open it.