Stuck in this step!

<div class="daily-value sm-text">
        <p  class="right bold" class="no-divider">% Daily Value *</p>
        <div class="divider"></div>
        <p><span class="bold">Total Fat</span> 8g<span class="bold right">10%</span></p>
        <p class="indent">Saturated Fat 1g <span class="bold right">5%</span></p>

Error:- Your p element with the text % Daily Value * should have no-divider added to the class attribute. Do not remove the existing classes.

Using to class="" attribute with an element is wrrong.
If we want to use multiple class names with an element, we use one class attribute and we use space between the class names

For example:

Without class

With 1 class name
<span class="class1"></span>

With 2 class names
<span class="class1 class2"></span>

With 3 class names
<span class="class1 class2 class3"></span>

To use multiple class names you need to add space between the class names, and if there is no space between them that mean there is one class name

1 class name
<span class="class1class2"></span>

2 class names
<span class="class1 class2"></span>

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