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

Tell us what’s happening:

I am facing issue in step 26,
step: Within your thead , create a tr element. In that, add a td and three th elements. Within each of the th elements, add a span element with the class set to sr-only and the following text, in order: 2019 , 2020 , and 2021 .

Test

Sorry, your code does not pass. Keep trying.

Hint

Your tr element should have three th elements, after the td element.

Codeline:

<thead>
              <tr>
                <td></td>
                <th><span class="sr-only>2019</span></th>
                <th><span class="sr-only>2020</span></th>
                <th><span class="sr-only>2021</span></th>
              </tr>
            </thead> 

Your code so far

<thead>
              <tr>
                <td></td>
                <th><span class="sr-only>2019</span></th>
                <th><span class="sr-only>2020</span></th>
                <th><span class="sr-only>2021</span></th>
              </tr>
            </thead>

WARNING

The challenge seed code and/or your solution exceeded the maximum length we can port over from the challenge.

You will need to take an additional step here so the code you wrote presents in an easy to read format.

Please copy/paste all the editor code showing in the challenge from where you just linked.

Replace these two sentences with your copied code.
Please leave the ``` line above and the ``` line below,
because they allow your code to properly format in the post.

Your browser information:

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

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

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 (').

When you open a double quote, you must close it also.
Here (and elsewhere) you have not closed the double quotes with a matching double quote character after the sr-only word.

1 Like