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

Hi. I am not able to complete step 30. I have this message in the instruction: The span[class~="sr-only"] selector will select any span element whose class includes sr-only . Create that selector, and give it a border property set to 0 .
I read previous solutions in the forum and it is said to copy and paste the code. I tried but it didn’t work.

here is my code:
span[class~=“sr-only”]

this is the message i received

Sorry, your code does not pass. Keep trying.
You should have an span[class~="sr-only"] selector.

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 30

Link to the challenge:

¡Hola!

@ Alberto000

Tu codigo esta incompleto, te falta el cuerpo del selector.

Esta lección lo explica muy bien.

saludos

Hola!
Gracias por la respuesta . No es claro. Por favor mira mi codigo abajo. Muchas Gracias.
Saludos

Css
span[class~=“sr-only”]

html { box-sizing: border-box; }

body {
font-family: sans-serif;
color: #0a0a23; }

HTML

Balance Sheet

AcmeWidgetCorp Balance Sheet

2019 2020 2021
Assets
2019 2020 2021
Cash This is the cash we currently have on hand. $25 $30 $28
Checking Our primary transactional account. $54 $56 $53
Savings Funds set aside for emergencies. $500 $650 $728
Total Assets $579 $736 $809
Liabilities
2019 2020 2021
Loans The outstanding balance on our startup loan. $500 $250 $0
Expenses Annual anticipated expenses, such as payroll. $200 $300 $400
Credit The outstanding balance on our credit card. $50 $50 $75
Total Liabilities $750 $600 $475
Net Worth
2019 2020 2021
Total Net Worth $-171 $136 $334

@ Alberto000

El enlace que te envie contien este ejemplo

element {
   property: value;
}

tu element seria span[class~=“sr-only”], y
tu property seria border: 0;

Si mientras intentaste resolverlo moviste algo más, te recomiendo que reinicies el ejercicio y vuelvas a intentarlo.

Espero que ahora puedas resorverlo, la intención es que tu encuentres la solución.

saludos

muchissima gracias

Saludos

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