4. What is wrong with my code?


#1

I don't know why this code is not working. Am I just stupid (probably), or is this a Codecademy glitch?

<!DOCTYPE html>
<html>
    <head>
        <link type="text/css" rel="stylesheet" href="stylesheet.css" />
        <title>My Photo Page</title>
    </head>
    <body>
    <table>
    <thread>
    <th colspan=3>
    Hey
    </th>
    </thread>
    <tbody>
        <tr>
            <td>Hai</td><td>hey</td><td>ho</td>
        </tr>
        <tr>
            <td>Hai</td><td>hey</td><td>ho</td>
        </tr>
        <tr>
            <td>Hai</td><td>hey</td><td>ho</td>
        </tr>
    </tbody>
    </table>
  </body>
</html>

Error message:


#2

@pixel_sheep,

Please display your code in ASCII format

edit your Post

  • leave one blank-line above of your code
  • select your code in the Post
  • then =click= on the </>-symbol-of-this-editor

Your code will then be in a pre-code state
and you will be able to make/present the proper indentations.

or even better use
= http://discuss.codecademy.com/t/using-backticks-to-format-your-code/3697/2
[extra's]
https://github.com/adam-p/markdown-here/wiki/Markdown-Cheatsheet


#3

Fixed, thanks.

some letters so I can post


#4

How did you fix it??? I am facing the same problm





My Photo Page

    <table>
       <thead>
       <tr>
         <th colspan="3"> Numerals </th>
        <tr> 
       </thead>
         <tbody>
          <tr> 
          <th><td>One</td></th>
          <th><td>1</td></th>
          <th><td>I</td></th>
          </tr>
           <tr>
           <th><td>Two</td></th>
          <th><td>2</td></th>
          <th><td>II</td></th>

           </tr> 
           <tr>
           <th><td>three</td></th>
          <th><td>3</td></th>
          <th><td>III</td></th>

           </tr> 
           
        
        
        </tbody>
         
     </table>


</body>


#5

It should be thead, not thread.