CSS CSS Selectors Going Further with Attribute Selectors and Pseudo-Classes Substring Matching Attribute Selectors Challenge

Vasil Ginin
Vasil Ginin
3,724 Points

Please guys can you help me with challenge 1 task 1.

I need help with task 1 challenge 1. Please and thank you guys.

style.css
/* Complete the challenge by writing CSS below */

img[src^="product"] {
  border-color: lightblue;
}

1 Answer

Adam Beer
Adam Beer
11,277 Points

Just a typo. Use title^ instead of *src^*and after the product you forgot the "-" sign.

img[src^="product-"] {}

to

img[title^="product-"]{}
Vasil Ginin
Vasil Ginin
3,724 Points

Thank you, Adam!!