Build a Book Inventory App - Build a Book Inventory App

Tell us what’s happening:

Hi, I’m stuck on Step 46. I need to style the three empty span elements that are direct children of the span with the class starting with “rate”.

I tried this selector, but it’s not working:

CSS

span[class^=“rate”] > span {
/* my styles here */
}
I also tried span[class^=“rate”] span without the >.

The test keeps failing with this error:

“You should use an attribute selector to target the span elements which are direct children of span elements with the class value starting with rate…”

Your code so far

<!-- file: index.html -->

/* file: styles.css */

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36

Challenge Information:

Build a Book Inventory App - Build a Book Inventory App

if this is not accepted, you could try with other modifiers, do you remember which ones you learned, or where to find them?