Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

HTML HTML Tables Table Basics Create a Table

Lukasz Milde
Lukasz Milde
7,199 Points

Tables

Hi Why i got this problem? I've filled up first two cells with content which i've been asked for, and then my own text in the rest of them.

<!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>Lukasz</td> <td>Front</td> <tr/> <tr> <td>Paola</td> <td>Zona</td> <tr/> <tr> <td>Zosia</td> <td>Coreczka</td> <tr/> </table> </body> </html>

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/>
      <tr>
        <td>Lukasz</td>
        <td>Front</td>
      <tr/>
      <tr>
        <td>Paola</td>
        <td>Zona</td>
      <tr/>
      <tr>
        <td>Zosia</td>
        <td>Coreczka</td>
      <tr/>
    </table>
  </body>
</html>

2 Answers

Mike Atkinson
Mike Atkinson
6,882 Points

Hi, I'm not sure your exact question, but I can see in your code that you are trying to close your table rows with <tr/>.

The slash in closing tags should come at the start, eg. </div> </p> and </tr>

Try fixing your closing tags to </tr> and see if that helps.

Lukasz Milde
Lukasz Milde
7,199 Points

Oh yes, I see. I was surprised because this tag <tr/> worked in previous steps of challenge. Thank you for help