<!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 + "<br>") document.write("Index No.: " + urindex + "<br> <br>") document.write("=== Grades === <br>") document.write("English: " + urengmrk + "/100 " + " (A) <br>" ) document.write("Mother Tongue: " + urmtmrk + "/100 " + " (B) <br>") document.write("Science: " + urscimrk + "/100 " + " (C) <br>") document.write("Maths: " + urmathmrk + "/100 " + " (D) <br>") 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