Learn More About CSS Pseudo Selectors By Building A Balance Sheet - Step 1

Its telling me i need a title element and my code wont pass. Did i do the title element wrong?
My Code:

<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link rel="stylesheet" href="./styles.css"
    <title>Career Stats</title>
    </head>
    <body>
       <table>
  <tr>
    <th>Year</th>
    <th>Age</th>
    <th>Team</th>
    <th>Completions</th>
    <th>Attempts</th>
    <th>Completion %</th>
    <th>Pass Yards</th>
    <th>Touchdowns</th>
    <th>Interceptions</th>
  </tr>
  <tr>
    <td>2000</td>
    <td>23</td>
    <td>Patriots</td>
    <td>1</td>
    <td>3</td>
    <td>33.3</td>
    <td>6</td>
    <td>0</td>
    <td>0</td>
  </tr>
  <tr>
    <td>2001</td>
    <td>24</td>
    <td>Patriots</td>
    <td>264</td>
    <td>413</td>
    <td>63.9</td>
    <td>2843</td>
    <td>18</td>
    <td>12</td>
  </tr>
  <tr>
    <td>2002</td>
    <td>25</td>
    <td>Patriots</td>
    <td>373</td>
    <td>601</td>
    <td>62.1</td>
    <td>3764</td>
    <td>28</td>
    <td>14</td>
  </tr>
  <tr>
    <td>2003</td>
    <td>26</td>
    <td>Patriots</td>
    <td>317</td>
    <td>527</td>
    <td>60.2</td>
    <td>3620</td>
    <td>23</td>
    <td>12</td>
  </tr>
  <tr>
    <td>2004</td>
    <td>27</td>
    <td>Patriots</td>
    <td>288</td>
    <td>474</td>
    <td>60.8</td>
    <td>3692</td>
    <td>28</td>
    <td>14</td>
  </tr>
  <tr>
    <td>2005</td>
    <td>28</td>
    <td>Patriots</td>
    <td>334</td>
    <td>530</td>
    <td>63</td>
    <td>4110</td>
    <td>26</td>
    <td>14</td>
  </tr>
  <tr>
    <td>2006</td>
    <td>29</td>
    <td>Patriots</td>
    <td>319</td>
    <td>516</td>
    <td>61.8</td>
    <td>3529</td>
    <td>24</td>
    <td>12</td>
  </tr>
  <tr>
    <td>2007</td>
    <td>30</td>
    <td>Patriots</td>
    <td>398</td>
    <td>578</td>
    <td>68.9</td>
    <td>4806</td>
    <td>50</td>
    <td>8</td>
  </tr>
   <tr>
    <td>2008</td>
    <td>31</td>
    <td>Patriots</td>
    <td>7</td>
    <td>11</td>
    <td>63.6</td>
    <td>76</td>
    <td>0</td>
    <td>0</td>
  </tr>
   <tr>
    <td>2009</td>
    <td>32</td>
    <td>Patriots</td>
    <td>371</td>
    <td>565</td>
    <td>65.7</td>
    <td>4398</td>
    <td>28</td>
    <td>13</td>
  </tr>
   <tr>
    <td>2010</td>
    <td>33</td>
    <td>Patriots</td>
    <td>324</td>
    <td>492</td>
    <td>65.9</td>
    <td>3900</td>
    <td>36</td>
    <td>4</td>
  </tr>
   <tr>
    <td>2011</td>
    <td>34</td>
    <td>Patriots</td>
    <td>401</td>
    <td>611</td>
    <td>65.6</td>
    <td>5235</td>
    <td>39</td>
    <td>12</td>
  </tr>
         <tr>
    <td>2012</td>
    <td>35</td>
    <td>Patriots</td>
    <td>401</td>
    <td>637</td>
    <td>63</td>
    <td>4827</td>
    <td>34</td>
    <td>8</td>
  </tr>
         <tr>
    <td>2013</td>
    <td>36</td>
    <td>Patriots</td>
    <td>380</td>
    <td>628</td>
    <td>60.5</td>
    <td>4343</td>
    <td>25</td>
    <td>11</td>
  </tr>
         <tr>
    <td>2014</td>
    <td>37</td>
    <td>Patriots</td>
    <td>373</td>
    <td>582</td>
    <td>64.1</td>
    <td>4109</td>
    <td>33</td>
    <td>9</td>
  </tr>
         <tr>
    <td>2015</td>
    <td>38</td>
    <td>Patriots</td>
    <td>402</td>
    <td>624</td>
    <td>64.4</td>
    <td>4770</td>
    <td>36</td>
    <td>7</td>
  </tr>
         <tr>
    <td>2016</td>
    <td>39</td>
    <td>Patriots</td>
    <td>291</td>
    <td>432</td>
    <td>67.4</td>
    <td>3554</td>
    <td>28</td>
    <td>2</td>
  </tr>
         <tr>
    <td>2017</td>
    <td>40</td>
    <td>Patriots</td>
    <td>385</td>
    <td>581</td>
    <td>66.3</td>
    <td>4577</td>
    <td>32</td>
    <td>8</td>
  </tr>
            <tr>
    <td>2018</td>
    <td>41</td>
    <td>Patriots</td>
    <td>375</td>
    <td>570</td>
    <td>65.8</td>
    <td>4355</td>
    <td>29</td>
    <td>11</td>
  </tr>
          <tr>
    <td>2019</td>
    <td>42</td>
    <td>Patriots</td>
    <td>373</td>
    <td>613</td>
    <td>60.8</td>
    <td>4057</td>
    <td>24</td>
    <td>8</td>
  </tr>
          <tr>
    <td>2020</td>
    <td>43</td>
    <td>Buccaneers</td>
    <td>401</td>
    <td>610</td>
    <td>65.7</td>
    <td>4633</td>
    <td>40</td>
    <td>12</td>
  </tr>
         <tr>
    <td>2021</td>
    <td>44</td>
    <td>Buccaneers</td>
    <td>485</td>
    <td>719</td>
    <td>67.5</td>
    <td>5316</td>
    <td>43</td>
    <td>12</td>
  </tr>
</table> 
      </body>
  </html>

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:105.0) Gecko/20100101 Firefox/105.0

Challenge: Learn More About CSS Pseudo Selectors By Building A Balance Sheet - Step 1

Link to the challenge:

I’ve edited your code for readability. When you enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make it easier to read.

You can also use the “preformatted text” tool in the editor (</>) to add backticks around text.

See this post to find the backtick on your keyboard.
Note: Backticks (`) are not single quotes (').

Remember to close > the link element above.


As an aside, I’m not sure why you have so much HTML in the starting code?

wow i feel dumb lol. thanks. what do you mean by so much html?

All the HTML you have inside the body. The starting editor should be empty and all it is asking for is the initial boilerplate HTML.