SitePoint Sponsor

User Tag List

Results 1 to 5 of 5

Threaded View

  1. #1
    SitePoint Member
    Join Date
    Aug 2012
    0 Post(s)
    0 Thread(s)

    Code show up on website itself. [Code Review]

    Hello! I am having some trouble getting my information to show up.
    At first it shows the table with the information, and then it shows a syntax error, and the information I just entered to be a document ready command.
    All of the information I have, except for the table, is coming from the book pg. 20 of the second edition, but I can't figure out what I am doing wrong.
    When I view this code in a browser while having a syntax error, I cannot see anything.
    And when I do not have an error, I get the code that I just entered stuck in my webpage at the top.

    Here is the entire code that I am having trouble with.

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "">
    <html xmlns="">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>The Cake Kiosk</title>
    <script type="text/javascript" src="jquery-1.8.0.min.js"></script>
    <script type="text/javascript" src="script.js"></script>
      alert('Welcome to StarTrackr! Now no longer under police investigation!');
    <table width="100%" border="2" cellspacing="2" cellpadding="2" bgcolor="#0066FF">
        <td colspan="2" align="center">The Cake Kiosk</td>
        <td align="center">Design Your Own</td>
        <td align="center">Current Designs</td>
        <td align="center">Java Script Code Left</td>
        <td align="center">Java Script Code Right</td>
        <td align="center" colspan="2">Developed by Kiosks for Cakes</td>
    Thank you for your time!
    Last edited by Force Flow; Aug 21, 2012 at 13:37. Reason: added [code] tags


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts