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

I was asked to insert two span elements within a previous span element carrying a class of “flex”. I did exactly that yet might code wouldn’t pass.

Balance Sheet

AcmeWidgetCorp Balance Sheet

<!-- 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>

<!-- User Editable Region -->

          <span class="flex">
            <span>
             AcmeWidgetCorp
              </span>
              <span>
                 Balance Sheet
                </span>
          </span>

<!-- User Editable Region -->

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

Your browser information:

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

Challenge Information:

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

Hello!
Amazing job so far.

Your two new span elements need to be on one line each.
Example: <span>Hello world!</span>

1 Like

Thank you so much for the reply. I figured it out already. Thank you once again

2 Likes