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

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.

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