Untitled
<html> <body bgColor=" "aquamarine"> <Script language="Javascript"> Var a: a prompt (" enter the no."); if (a<30) {document.write("<font size=7 color=red>") document.write ("fail"); } Else if (a<40) {document.write("<font size = 7 color = yellow") document.write(" Compartment"); } Else if (a<50) {document. write (6"<font size = 7 color=green>") document.write ("Pass"); Else if (a>51) {document. write("<font size=7 color = steelblue>") </script> document. write ("first"); } </body> </html>
Leave a Comment