Learn Typography by Building a Nutrition Label - Step 33

i need help please. I did as instructed, to add a new span below the left corner element, but it still won’t work

<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <title>Nutrition Label</title>
  <link href="https://fonts.googleapis.com/css?family=Open+Sans:400,700,800" rel="stylesheet">
  <link href="./styles.css" rel="stylesheet">
</head>

<body>
  <div class="label">
    <header>
      <h1 class="bold">Nutrition Facts</h1>
      <div class="divider"></div>
      <p>8 servings per container</p>
      <p class="bold">Serving size <span>2/3 cup (55g)</span></p>
    </header>
    <div class="divider large"></div>
    <div class="calories-info">
      <div class="left-container">

              <span>230</span>

        <h2 class="bold small-text">Amount per serving</h2>
        <p>Calories</p>
      </div>
    </div>
  </div>
</body>
</html>

Below the .left-container means below the closing tag of this html element.
You have put span element within the .left-container.

1 Like

thank you so much, worked right now

1 Like

Also below the .left-container element, create a new span element with the text 230 .

Note: element comprises of both opening and closing tags.

Responding to your code; You span element should come after your closing </div> tag

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