I Keep getting an error response and to use an a selector however I did and the code is not passing. Is there a detail that I am missing?
my code:
a[href="https://www.freecodecamp.org/news/terms-of-service/"]
{
color: #dfdfe2;
}
I Keep getting an error response and to use an a selector however I did and the code is not passing. Is there a detail that I am missing?
my code:
a[href="https://www.freecodecamp.org/news/terms-of-service/"]
{
color: #dfdfe2;
}
Welcome to FCC Forum!
Please use the Help? which appears after three unsuccessful attempts on a step? By using this way to submit codes and questions, it allows people in the community to assist quickly and accurately to your concerns.
Thank you.
Happy coding!
I’ve edited your code for readability. When you enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make it easier to read.
You can also use the “preformatted text” tool in the editor (</>
) to add backticks around text.
See this post to find the backtick on your keyboard.
Note: Backticks (`) are not single quotes (').
Your issue is that you are trying to use the attribute selector here
but the test is looking for the anchor element type selector
once you fix that, then it will pass
Just use the a selector and it should pass.
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.