Balance Sheet - Step 13

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

Your code so far

<!-- file: index.html -->
<!DOCTYPE html>
<html lang="en">
    <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 class="current"><span class="sr-only year">2021</span></th>
              <tr class="data">
                <th>Cash This is the cash we currently have on hand.</th><span class="description">This is the cash we currently have on hand.</span>

              <tr class="data">
              <tr class="data">
              <tr class="total">
/* file: styles.css */

Your browser information:

User Agent is: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/ Safari/537.36

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

Link to the challenge:

You should wrap the text This is the cash we currently have on hand. in a span element,

Please i dont get this right. help?

1 Like

The first part of the instructions say:

In your first tr , add a th element with the text Cash This is the cash we currently have on hand. . Wrap all of that text except Cash in a span element with the class set to description .

I guess you didn’t understand them so I will try to rephrase this part for you:
(It is up to you to ask specific follow up questions if you don’t understand me either though)

  • add a th element :white_check_mark:
  • add the sentence to the th element: Cash This is the cash we currently have on hand. :white_check_mark:
  • wrap the above text from the word “This” to the end in a span element (within the th) :x:
  • give this span element a class of value description :white_check_mark: