I cannot figure out how to get the ‘a’ element’s text (terms and conditions) to change color! I have figured out how to add a the .inline class to my input statement but the color change still alludes me in the code bellow:
<input id="terms-and-conditions" type="checkbox" required name="terms-and-conditions" class='inline'/> I accept the <a href="https://www.freecodecamp.org/news/terms-of-service/">terms and conditions</a>
Solution I keep getting is I should use an ‘a’ element selector, but there is one already there!
Sorry! This was the code I was having trouble with!
Please post a link to the Step or use the Ask for Help button!
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 (').
you should write color in css
U should change the style of
<a> in the css, change something like the color or the font size …
you need to add to the CSS file