<html>
<head></head>
<body>
<script type = "text/javascript">
var x = 5;
var y = 8;
if (x < 6)
{
document.write("They are equal");
}
else
{
document.write{"They are NOT equal");
}
</script>
</body>
</html>
<html> <head></head> <body> <script type = text/javascript> var x = 5; var y =
Share
I think you have a syntax error:
Should be