Hint Your third th element should have the class set to current

Tell us what’s happening:
Describe your issue in detail here.

  **Your code so far**
/* file: index.html */
<!DOCTYPE html>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Balance Sheet</title>
  <link rel="stylesheet" type="text/css" href="./styles.css">
        <span class="flex">
          <span>Balance Sheet</span>
      <div id="years" aria-hidden="true">
        <span class="year">2019</span>
        <span class="year">2020</span>
        <span class="year">2021</span>
      <div class="table-wrap">
              <th><span class="sr-only year">2019</span></th>
              <th><span class="sr-only year">2020</span></th>
              <th><span class="sr-only year current">2021</span></th>
/* file: styles.css */

  **Your browser information:**

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36

Challenge: Step 11

Link to the challenge:

Give your third th element not your third span the class attribute set to current.

<th class="current"><span class="sr-only year">2021</span></th>

Please Try This Code

[redacted by moderator]

Happy Coding :smiling_face_with_three_hearts: :grinning:

1 Like

Please don’t just give code to cut and paste. This is a learning site. Please guide people to the answer to find themselves.

ok I undrstand :pensive:
This is my mistake

1 Like

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