<!DOCTYPE html> <html> <title>Web Page Design</title> <head> <script> var urname = prompt("Enter your name:"); var urclass = prompt("Enter your class:"); var urindex = prompt( "Enter your index number:" ) var urengmrk = prompt("Enter your English Marks:") var urmtmrk = prompt("Enter your Mother Tongue Marks:") var urscimrk = prompt("Enter your Science Marks:") var urmathmrk = prompt("Enter your Math Marks:") document.write("=== Report Card === <br>"); document.write("Name:" + urname +"<br>"); document.write("Class:" + urclass); document.write("<br>"); document.write("Index Number:" + urindex); document.write("<br>"); document.write("<br>"); document.write("=== Grades === <br>"); document.write("English:" + urengmrk + "/100" + "(A)"); document.write("<br>"); document.write("Mother Tongue:" + urmtmrk + "/100" + "(A)"); document.write("<br>"); document.write("Science:" + urscimrk + "/100" + "(A)"); document.write("<br>"); document.write("Math:" + urmathmrk + "/100" + "(A)"); sayHello(); </script> </head> <body> </body> </html>
We use cookies to provide and improve our services. By using our site, you consent to our Cookies Policy. Accept Learn more