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

Tell us what’s happening:
Hi, I’ve looked and looked this and I bet it’s so simple but I can’t see what’s wrong.

  **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>
    </section>
  </main>
</body>
</html>
/* file: styles.css */

  **Your browser information:**

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/104.0.0.0 Safari/537.36

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

Link to the challenge:

It’s matter of the placement.
Make it one line.
<span>____</span>
rather than
<span>

</span>

Genius! I’ve got a lot to learn :slight_smile: Thank you.

Best of luck on your journey!

if you tried this and it didn’t work then you have to make the text in the same line like this :

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

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