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

Nathan Hillyer
seal-mask
.a{fill-rule:evenodd;}techdegree
Nathan Hillyer
Full Stack JavaScript Techdegree Student 3,380 Points

I'm being asked to set border-color to 'lightblue'. I have written: border-color: lightblue;

It's saying Bummer: Are you setting border-color to 'lightblue'?

Yes, that is what it says.

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

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

1 Answer

Thomas Davidson
Thomas Davidson
5,439 Points

Hey Nathan,

Took me a min to figure it out, but the challenge seems to have an issue with the whitespace between 'img' and '['

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