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

Tell us what’s happening:
Cant see anything wrong with my code, but keep getting the error “Your th element should have the text `Checking Our primary transactional account.” .

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 <span class="description">This is the cash we currently have on hand.</span></th>
                <td class="current">$28</td>

<!-- User Editable Region -->

              <tr class="data">
                <th>Checking<span class="description">Our primary transactional account.</span>
                <td class="current">$53</td>

<!-- User Editable Region -->

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

Your browser information:

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

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

Link to the challenge:

You need a space after Checking.

1 Like

THANKS! Kept missing it

1 Like

After the closing span tag </span> add the closing th tag </th>. You have added it right above the tr tag </tr> and that is not correct. Also make a blank space after the word “Checking”.

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