Log In · Register

 
Javascript, help number 2
SNAP_Tornado
post Aug 29 2004, 08:40 PM
Post #1


Some Halo2 [F][R][E][A][K]
****

Group: Member
Posts: 134
Joined: Aug 2004
Member No: 43,354



i need help with this code now
CODE
<!-- begin code provided by createblog.com -->
<html>

<head>
<title>
examples!!
</title>

<script language="Javascript">

var like_color = prompt ("Which Color do you like?", "Red or blue?")

if (like_color == "blue")
}
document.writeln("YOU LIKE BLUE??? The monkey thinks that u're kool!")
{

</script>

</head>
<!-- end code provided by createblog.com -->


sigh...plz help it's giving me an error message thx! happy.gif
 

Posts in this topic
SNAP_Tornado   Javascript   Aug 29 2004, 08:40 PM
aznriceboi   what is the javascript suppose to do?   Aug 30 2004, 03:47 PM
Revolt   Your open and close braces are reversed. it shoul...   Aug 30 2004, 04:55 PM
SNAP_Tornado   o...hehe...whoops sry!!   Aug 30 2004, 07:41 PM


Closed TopicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members: