Whats wrong with this script?

Discussion in 'JavaScript' started by Plutonic, Jun 5, 2007.

Thread Status:
Not open for further replies.
  1. #1
    My friend made this javascript, and I need to know what is wrong with it before my lesson ends, in about 30 min.

    Thanks.



    
    <html>
    <head>
    <title>Assignment one!!!</title>
    </head>
    <body>
    <SCRIPT LANGUAGE = JavaScript>
    document.write("<B>G'day Mate!</B>");
    document.write("<I>What Are you doing at this present moment in time?</i>");
    document.write("<U> I <i> know</i> your reading this! Wow I must be
    telepathic!</u>");
    document.write("<marquee>TELEPATHIC<Blink>TELEPATHIC</blink></marquee>");
    document.write("<fontsize="72"><marquee><blink><I><U><B>TELEPATHIC</B></U></I></BLINK></MARQUEE>");
    </script>
    </html>
    
    Code (markup):

     
    Plutonic, Jun 5, 2007 IP
  2. ansi

    ansi Well-Known Member

    Messages:
    1,483
    Likes Received:
    65
    Best Answers:
    0
    Trophy Points:
    100
    #2
    well, i would have looked into it but it seems that you are about 12 hours too late on your deadline. sorry bud. and just from glancing at it... the blink tags are what is wrong with it! what's more fun than a barrel full of blink elements? a barrel full of marqueeing blink elements!
     
    ansi, Jun 6, 2007 IP
  3. MMJ

    MMJ Guest

    Messages:
    460
    Likes Received:
    12
    Best Answers:
    0
    Trophy Points:
    0
    #3
    
    <html>
    <head>
    <title>Assignment one!!!</title>
    </head>
    <body>
    <script type="text/JavaScript">
    document.write("<B>G'day Mate!</B>");
    document.write("<I>What Are you doing at this present moment in time?</i>");
    document.write("<U> I <i> know</i> your reading this! Wow I must be telepathic!</u>");
    document.write("<marquee>TELEPATHIC<Blink>TELEPATHIC</blink></marquee>");
    document.write("<fontsize=\"72\"><marquee><blink><I><U><B>TELEPATHIC</B></U></I></BLINK></MARQUEE>");
    </script>
    </body>
    </html>
    
    HTML:
     
    MMJ, Jun 6, 2007 IP
Thread Status:
Not open for further replies.