Javascript problem (please help!) - 03/04/04 09:33 AM
Hey guys,
I read a couple of tutorials and started learning how to program javascript. I tried to do one of the excercises, and the code just doesnt work could someone please help me out? sorry about the weird spacing
I read a couple of tutorials and started learning how to program javascript. I tried to do one of the excercises, and the code just doesnt work could someone please help me out? sorry about the weird spacing
Code
<html> <head> <title>stuff</title> <script language ="Javascript"> <!-- hide me var red_monkey = prompt("What is your name?","Ryan"); var blue_monkey = prompt("what is your favorite color?""Blue"); var green_monkey = "I hate you"; var orange_monkey = "and I hate"; var all_in_one = green_monkey + red_monkey + orange_monkey + blue_monkey; // stop hiding me --> </script> </head> <body> <script language = "javascript"> <!-- hide me document.writeln(all_in_one) // stop hiding me --> </script> </body> </html>