Stuckk in this step help!

<div class="label">
      <h1>Nutrition Facts</h1>
      <div class="divider"></div>
      <p>8 servings per container</p>
      <div class="bold">
      <p>Serving size 2/3 cup (55g)</p></div>
    </div>

Error:- Your second p element should have a class attribute set to bold

I believe you need to add the “font-weight attribute” to the class rule. Also, you do not have a “class” set on the second “p” element.


<!--  Could add this to your stylesheet -->
.class-name {
  font-weight: bold;
}

<!-- HTML Below -->
<p class="class-name">Example Text Here</p>

There is no class attribute with the value ‘bold’ in your “second p” element in the example.

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