Step 43 Learn Typography

I am almost certain my code is correct for Step 43 in Learn Typography . Here is what I have. Can anyone help me figure out why it is not being accepted?

<!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">
        <h2 class="bold small-text">Amount per serving</h2>
        <p>Calories</p>
      </div>
      <span>230</span>
    </div>
    <div class="divider medium"></div>
    <div class="daily-value small-text">
      <p class="bold right">% Daily Value *</p>
      <div class="divider"></div>
        <p>
    <span class="bold">Total Fat <span>8g </span><span class="bold">10%</span></span>
  </p>
    
    </div>
  </div>
</body>
</html>

Please post the link to the Step when asking a question.

At a glance, it looks like your spacing might be wrong and your span tags are in the wrong places.

Welcome to the community @meljbaldwin !

I had to make myself a breakdown for this step.

I am providing it here, in the hope it can help you to resolve the issue and move on with your coding journey.

Step 43 Nutrition Label

  1. p element to be placed after the last .divider.

  2. text to be placed in the p element Total Fat 8g 10%

  3. span element with class bold should wrap Total Fat

  4. span element with class bold should wrap 10%

  5. span element to wrap the span and Total Fat, along with 8g.

I hope this helps you.

Keep up the good progress!

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