Please note, this is a STATIC archive of website www.tutorialspoint.com from 11 May 2019, cach3.com does not collect or store any user information, there is no "phishing" involved.
Tutorialspoint

2H (33) Laetisha Wee RCG P2

<!DOCTYPE html>
<html>
<title>Web Page Design</title>
<head>
<script>

   document.write("=== Report Card ===<br>");
   document.write("Name:"+"Mary Lim <br>");
   document.write("Class:"+"2A <br>");
   document.write("Index No.:"+"27<br>"+"<br>");

   document.write("=== Grades ===<br>");
   document.write("English:"+"85"+"/100"+"(A)<br>");
   document.write("Mother Tongue :"+"72"+"/100"+"(B)<br>");
   document.write("Science :"+"69"+"/100"+"(C)<br>");
   document.write("Maths :"+"82"+"/100"+"(D)<br>");
   

   var urname = prompt ("Enter your name :");
   var urclass = prompt ("Enter your class :<br>");
   var urindex = prompt ("Enter your index :<br>");
   
   var urengmark = prompt ("Enter your English Marks :");
   var urmtmrk = prompt ("Enter your Mother Tongue Marks :<br>");
   var urscimrk = prompt ("Enter your Science Marks :<br>");
   var urmathmrk = prompt ("Enter your Math Marks :<br>");
   
      document.write("=== Report Card ===<br>");
   document.write("Name:"+ urname " <br>");
   document.write("Class:"+urclass "<br>");
   document.write("Index No.:"+urindex"<br>");

   document.write("=== Grades ===<br>");
   document.write("English:"+urengmark+"/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>");
   


</script>
</head>
<body>
</body>
</html>

Advertisements
Loading...

We use cookies to provide and improve our services. By using our site, you consent to our Cookies Policy.