Learn-typography-by-building-a-nutrition-label - Step 48

learn-typography-by-building-a-nutrition-label - Step 48

How am I supposed to add the 'no-divider ’ class?

to add another class to an element use a space with the class name

eg
(this is an example not the answer)

before a second class was added
<h1 class="class-one"></h1>

after a second class was added
<h1 class="class-one class-two"></h1>

4 Likes

Mod edit: removed
The class attribute needs the value “no-divider”.

THANK YOU SAVE IT TO WASTE MY TIME

Thank you for taking the time to answer this question!

1 Like

I have tried this way as you are saying but still getting Error …

Reset the challenge, then click submit. Then read the error message, which will tell you which element to target.

Note, there are two, so the first edit won’t pass. But if you coded correctly, the second element to target will appear.

I have be wrap in the first div is not passing

That means the incorrect element was selected, or no-divider was not typed correctly. Reset the step and read what @Guided wrote about putting in a secondary class.

1 Like

Thank You very much I have done it

1 Like