Learn Basic CSS by Building a Cafe Menu - Step 79

Can you tell me what’s wrong with my code :woozy_face:

May you please provide the link of the challenge?

I think you are supposed to use a rather than a:visited

Thank you. You are right.
but i can’t understand why only a :slightly_smiling_face:

You just have to make the color of the link black regardless of whether it was visited or not.

i understand this but i mean in this case what does a means.

you mean in this case?

a {color: black;}

yes in this case :blush:
why a and not b

Oh, so here a is an element selector. Any styling applied using this selector will be reflected on all the <a></a> tags.

There are other element selectors as well for other elements. You can read more about element selectors and selectors in general.

thank you kai1, i’ll read it definitely

1 Like

Use a. rather than a: