Learn More About CSS Pseudo Selectors by Building A Balance Sheet - Step 7

Tell us what’s happening:

So I already did what I’m supposed to: I created a new div element with the class table-wrap. I closed the div element as well and nested three seperate table elements within. I can’t see what I did wrong. Some help would be appreciated!

Your code so far

<!-- file: index.html -->
<!DOCTYPE html>
<html lang="en">
  <head>
    <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">
  </head>
  <body>
    <main>
      <section>
        <h1>
          <span class="flex">
            <span>AcmeWidgetCorp</span>
            <span>Balance Sheet</span>
          </span>
        </h1>
        <div id="years" aria-hidden="true">
          <span class="year">2019</span>
          <span class="year">2020</span>
          <span class="year">2021</span>
        </div>

<!-- User Editable Region -->

<div class="table-wrap">
  <table></table>
  <table></table>
  <table></table>
</div>

<!-- User Editable Region -->

      </section>
    </main>
  </body>
</html>
/* file: styles.css */

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:133.0) Gecko/20100101 Firefox/133.0

Challenge Information:

Learn More About CSS Pseudo Selectors by Building A Balance Sheet - Step 7

Hi. Your code worked for me.

You may have to do a “hard refresh” of a page in your browser if you have an out of date, cached version of that website.

While on the problematic site use the key combination below to trigger a hard refresh depending on your operating system:

  • Windows: CTRL + F5
  • Mac/Apple: Apple + Shift + R or Command + Shift + R
  • Linux: F5

To learn more about this read: Refresh your cache - When hitting F5 just isn't enough!

If a hard refresh doesn’t work, try opening the problematic page in your browser’s private browsing mode.

1 Like

Thanks!
The hard refresh method sadly didn’t work, but the site accepted my code in the private browser, so that’s a win for me.

2 Likes