Necesito evaluacion para la tarea 5 de habilidad de selectores css

Este es mi codigo

Tarea con la que necesito ayuda

No logro que mi CSS me haga caso en los ultimos dos puntos de la tarea. Y segun revise varias veces no tengo ningun error de sintaxys.

Hi @Mati and welcome to the community :wave:

Your syntax is correct, but you used the wrong selectors.

~= only matches a string when it has a space before or after. There’s another selector on https://developer.mozilla.org/en-US/docs/Web/CSS/Attribute_selectors which matches whatever string you use.

|= only matches when the string is followed by a hyphen (-). There’s another selector that matches the string at the start of the attribute (whatever follows it).

I hope that helps, :slightly_smiling_face:
Michael

1 Like

Hello Michael!
Thank you for your response, it has been very helpful.

1 Like

Great improvements. These were exactly the selectors I was thinking about. :+1:

1 Like