Step 11 in Building A Balance Sheet

Tell us what’s happening:
Describe your issue in detail here.
Here is the line with my problem.
The class could have multiple values with space between them. But the “sr-only year” and “current” are never correct with this format.
Why would this happen? What is the correct one?

  **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" 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 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/ Safari/537.36

Challenge: Step 11

Link to the challenge:

You’re close.

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

Which element should have the class of current? It isn’t the span.


Thank you so much!! It confused me a whole night!

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