Tell us what’s happening:
Hi guys little stuck here can I get some help with this quiz
Your code so far
<!-- file: index.html -->
/* file: styles.css */
/* User Editable Region */
span{
span[class~="sr-only"];
border:0;
}
/* User Editable Region */
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36
Challenge Information:
Learn More About CSS Pseudo Selectors by Building A Balance Sheet - Step 30
Please talk to us about how the instructions or error message is confusing. Communication is a critical programming skill!
i can’t get passed this stage how do i declare this code in rite manner
pan{
span[class~=“sr-only”];
border:0;
}
Can you say more?
Vinny-d:
span[class~="sr-only"];
I don’t know what this part is? That’s not where a selector would go.
It is great that you solved the challenge, but instead of posting your full working solution, it is best to stay focused on answering the original poster’s question(s) and help guide them with hints and suggestions to solve their own issues with the challenge.
We are trying to cut back on the number of spoiler solutions found on the forum and instead focus on helping other campers with their questions and definitely not posting full working solutions.
bro im stuck here i dont know how this thing work i can use some little help
I cannot write the answer for you. I’m trying to talk to you about the code you wrote so you can fix it.
Do you remember where a selector goes for a CSS rule?
yes i remember
selector: propertie;
No, inside of the {} you have property: value;
. The selector does not go inside of the {}
this is my code still got green line under property “class”
span{
class:“sr-only”;
border:0;
}
What selector did the instructions ask you to use?
system
Closed
December 25, 2024, 8:44am
14
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.