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

where am i missing it, i keep getting the border-color bummer.

i need help

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

2 Answers

Serge Zant
Serge Zant
10,420 Points

Img is a HTML element and not a class.

So use img {} instead of .img{}. Hope this helps. Goodluck!

Remove the . before img