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

Substrain

Not sure what i did wrong.....

style.css
/* Complete the challenge by writing CSS below */
img[src^="product-"]{
  border-color: lightblue;
}

1 Answer

Dane Parchment
MOD
Dane Parchment
Treehouse Moderator 10,232 Points

It is asking you to apply the selector to the image tag's title attribute, you are applying it to the src attribute.

thanks