Tell us what’s happening:
Describe your issue in detail here.
I am struggling with the instruction: " Wrap everything within the .label
element in a new header
element." I also want to know why they use .label whenever they talk about label element, what is the use of the dot (.) before label
Your code so far
<div class="label">
<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>
</div>
</header>
</label>
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/112.0.0.0 Safari/537.36
Challenge: Learn Typography by Building a Nutrition Label - Step 24
Link to the challenge: