Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

HTML HTML Tables Table Basics Create a Table

jeremy hudson
jeremy hudson
2,589 Points

i need help lol

In the first row, fill the first table cell with the word "Name" and fill the second table cell with the word "Job". Then, fill in the rest of the table cells with any information that you'd like.

index.html
<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <title>HTML Tables</title>
  </head>
  <body>
    <table>
      <tr>
        <td>name</td>
        <td>job</td>
      </tr>
    </table>
     <table>
      <tr>
        <td>help lol</td>
        <td>help lol</td>
      </tr>
    </table>
     <table>
      <tr>
        <td>help lol</td>
        <td>help lol</td>
      </tr>
    </table>
     <table>
      <tr>
        <td>help lol</td>
        <td>help lol</td>
      </tr>
    </table>
  </body>
</html>

4 Answers

Hello, this is the full code for the challenge <blockquotes>

<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <title>HTML Tables</title>
  </head>
  <body>
    <table>
      <tr>
        <td>Name</td>
        <td>Job</td>
      </tr>
      <tr>
        <td>Lakindu</td>
        <td>CEO</td>
      </tr>
      <tr>
        <td>Kemindu</td>
        <td>General Manager</td>
      </tr>
      <tr>
        <td>Joe</td>
        <td>Supervisor</td>
      </tr>
    </table>
  </body>
</html>

</blockquotes> You have done small mistakes in your code... Delete the code on line 13 and 14 inside YOUR code and inside your first table row..please check the names you have given to your table cells...the first letters of the 'name' and 'job' should be in capital.

If this helped..please mark my answer as the best

jeremy hudson
jeremy hudson
2,589 Points

dang how did i not c that i put in tables for every row well thats what happens when you rush thanks for the help lol

ahahahha yeah xD Im looking forward to help u anytime

jeremy hudson
jeremy hudson
2,589 Points

im sure we will meet again happy coding lol

Abinet Kenore
Abinet Kenore
10,082 Points

<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>HTML Tables</title> </head> <body> <table> <tr> <td>Name</td> <td>Job</td> <tr> <td>Some One</td> <td>Front-End Developer</td> </tr> <tr> <td>Some One</td> <td>Front-End Developer</td> </tr> <tr> <td>Some One</td> <td>Front-End Developer</td> </tr> </table> </body> </html>