Write an HTML page
Add a New Item named index.html
inside wwwroot
. Use the following code for index.html
:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | <!DOCTYPE html> <html> <head> <meta charset= "utf-8" /> <script src= "scripts/app.js" ></script> <title></title> </head> <body> <div id= "message" ></div> <div> Compiler: <input id= "compiler" value= "TypeScript" onkeyup= "document.getElementById('message').innerText = sayHello()" /><br /> Framework: <input id= "framework" value= "ASP.NET" onkeyup= "document.getElementById('message').innerText = sayHello()" /> </div> </body> </html> |
Please login to continue.