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

It keeps asking me if I've set the border color to light blue. What am I doing wrong?

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

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

2 Answers

Steven Parker
Steven Parker
182,492 Points

It looks like there's a stray backslash ("\") character at the end of the top line after the comment.

Remove that and you should pass task 1.

Wow! Thanks Steven! I was pulling out what little hair I had.