Learn Typography by Building a Nutrition Label Step 48

I can’t seem to get past Step 48. Any help would be appreciated.

The :not pseudo-selector can be used to select all elements that do not match the given CSS rule.

Modify your .daily-value p selector to exclude the .no-divider elements.

Link to Step 48:

Here’s my CSS code:

.daily-value p {
border-bottom: 1px solid #888989;
.daily-value p:not(.no-divider) {
display: none;

Check of code:


Sorry, your code does not pass. Keep trying.


You should have a .daily-value p:not(.no-divider) selector.

Hey there.
Please, add link to the challenge step.

Hi, just added the link. Thanks.

Well, the thing is: this hint:

is basically gives you a solution for this step :slightly_smiling_face:

You don’t need to create selector inside selector here.
Just change existing selector a little bit

Ah, got it! Thank you!!!

1 Like

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