Loading ...
Sorry, an error occurred while loading the content.

Re: So I am dumb...

Expand Messages
  • davidblackledge
    ... Either you or they missed the last step in that script... you set up a nice variable sentence that has your sentence... but you never did anything to to
    Message 1 of 3 , Jul 1, 2002
    • 0 Attachment
      --- In javascript3@y..., "sic_pynhead" <sic_pynhead@y...> wrote:
      > var sentence = "You like " + color + "? The monkey thinks you're " +
      > adjective + "<p>";
      >
      > // stop hiding me -->
      > </script>
      > </head>
      > <body>
      > Hi...
      > </body>
      > </html>
      >
      > I copied the source code from Webmonkey, but it still won't display
      > correctly. What do you suppose i am doing wrong?
      >
      > thanks.

      Either you or they missed the last step in that script... you set up a
      nice variable "sentence" that has your sentence... but you never did
      anything to to display the contents of that variable.

      The intent is probably to have:
      <body>
      Hi...
      <script language="JavaScript">
      document.write(sentence);
      </script>
      </body>
      </html>

      David.
      http://David.Blackledge.com
    Your message has been successfully submitted and would be delivered to recipients shortly.