Tables lesson 3 rows


#1

The instructions say “Add two rows to the table in index.html.”, but there are several tables. No matter where I add rows (two of

), I still can’t pass the exercise. Where should I be adding these rows?

https://www.codecademy.com/learn/learn-html


I have added table rows, but I'm getting a message saying I did not
#2

@computergirl, can you post your code and link to your exact exercise?


#3

This is my current code. I added 2 rows for every table I could find, and the exercise is still marked incorrect.

<!DOCTYPE html>
<html>
<head>
  <title>Ship To It - Company Packing List</title>
  <link href="https://fonts.googleapis.com/css?family=Lato: 100,300,400,700|Luckiest+Guy|Oxygen:300,400" rel="stylesheet">
  <link href="style.css" type="text/css" rel="stylesheet">
</head>
<body>
	<table>
    <tr></tr>
    <tr></tr>
  </table>
  <ul class="navigation">
    <li><img src="https://s3.amazonaws.com/codecademy-content/courses/web-101/unit-9/htmlcss1-img_logo-shiptoit.png" height="20px;"></li>
    <li class="active">Action List</li>
    <li>Profiles</li>
    <li>Settings</li>
  </ul>

  <div class="search">Search the table</div>
  <table>
    <tr></tr>
    <tr></tr>
    <thead>
      <tr></tr>
    <tr></tr>
    <tr>
      <th scope="col">Company Name</th>
      <th>Number of Items to Ship</th>
      <th>Next Action</th>
      <th></th>
      <th></th>
    </tr>
    </thead>
    <tbody>
      <tr></tr>
    <tr></tr>
    <tr>
      <td>Adam's Greenworks</td>
      <td>14</td>
      <td>Package Items</td>
    </tr>
    <tr>
  <td>Davie's Burgers</td>
  <td>2</td>
  <td>Send Invoice</td>
</tr>
<tr>
  <td>Baker's Bike Shop</td>
  <td>3</td>
  <td>Send Invoice</td>
</tr>
<tr>
  <td>Miss Sally's Southern</td>
  <td>4</td>
  <td>Ship</td>
</tr>
<tr>
  <td>Summit Resort Rentals</td>
  <td>4</td>
  <td>Ship</td>
</tr>
<tr>
  <td>Strike Fitness</td>
  <td>1</td>
  <td>Enter Order</td>
</tr>
<tr>
</tr>
<tr>
</tr>
    </tbody>
    <tfoot>
      <tr></tr>
    <tr></tr>
      <td>Total</td>
      <td>28</td>
    </tfoot>
  </table>


</body>
</html>

Learn HTML: Tables: 3. Table Rows


#4

@computergirl, if I am not mistaken, there was a

<table>

</table>

somewhere in the code. Try resetting your exercise to see if you find it and then add two rows (<tr> </tr>).


#5

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