Help! Table Head "Oops, try again. Did you add a new table row within <thead></thead>?


#1


https://www.codecademy.com/courses/web-beginner-en-f8mcL/1/2?curriculum_id=50579fb998b470000202dc8b


Hey guys! I don't know what's what's wrong with my code. No matter what,the answer is : > Oops, try again. Did you add a new table row within ?

My code is here

<!DOCTYPE html>
<html>
    <thead>
      <tr>
      <th>
      Famous Monster
      </th>
      <th>
      Birth Year
      </th>
      </tr>
    </thead>
    
    <body>
        
        <table border="1px">
            <thead>
                
            </thead>
            <tbody>
                <tr>
                    <td>King Kong</td>
                    <td>1933</td>     
                </tr>
                
                <tr>
                    <td>Dracula</td>
                    <td>1897</td>
                </tr>
                
                <tr>
                    <td>Bride of Frankenstein</td>
                    <td>1935</td>
                </tr>
            </tbody>
        </table>
        
    </body>

</html>


#2

You said thead instead of head; You aren't suppose to replace the head with tables. You need your <head> tags and you need your <title> tags.


#3

woh! you are quick :smiley: But sorry i 'm confused


#4

Thx!!!! Now, i figured it out! Thanks a lot :smiley:


#5

As you know, an html layout starts out with <!DOCTYPE html> and then goes on to the <html> tags. Here is the basic layout of an html layout for you.

<!DOCTYPE html>
<html>

<head>
<title>The Title of the Webpage</title>
</head>

<body>
Write the content of the body including the tables.
</body>

</html

Hope this helped :slight_smile:


#6

Np, I'm always glad to help :slight_smile:


#7

I noticed that the thead elements were ready few lines below. But i keep your code :wink:


#8

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.