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:
<label for="terms-and-conditions">
<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>
</label>
Solution I keep getting is I should use an ‘a’ element selector, but there is one already there!
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.