Learn More About CSS Pseudo Selectors By Building A Balance Sheet - Step 43

Tell us what’s happening:

Your code so far

#years span[class]{font-size:4.5rem;font-weight: bold; width:4.5rem;text-align:right;}
WARNING

#years span[class]{font-size:4.5rem;font-weight: bold; width:4.5rem;text-align:right;}
I have the right code but it keeps saying I need the #years span[class] selector even though I have written this exact selector.

Your browser information:

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

Challenge: Learn More About CSS Pseudo Selectors By Building A Balance Sheet - Step 43

Link to the challenge:

This passes for me. Perhaps you accidentally made a change to the CSS above this? I’m just guessing here. Without being able to see all of your CSS it is hard to help.

To display your code in here you need to wrap it in triple back ticks. On a line by itself type three back ticks. Then on the first line below the three back ticks paste in your code. Then below your code on a new line type three more back ticks. The back tick on my keyboard is in the upper left just above the Tab key and below the Esc key. You may also be able to use Ctrl+e to automatically give you the triple back ticks while you are typing in the this editor and the cursor is on a line by itself. Alternatively, with the cursor on a line by itself, you can use the </> button above the editor to add the triple back ticks.

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.