In the original starting code for this step, there was an empty fieldset element above the label element. Your code is correct but it should not have been written inside the fieldset element. To fix this, please reset this step, as follows, and try again.
It looks like you may have changed the starting code in areas you were not asked to change, which will cause the tests to fail. Please click the reset button to restore the original code and try again.
<input id="terms-and-conditions" type="checkbox" required />
I accept the <a href=" https://www.freecodecamp.org/news/terms-of-service/ ">terms and conditions</a>
</fieldset> il me remet la même chose "Vous devriez avoir un élément juste avant le texte.`alabelRead our terms and conditions.`
I think there may have been a miscommunication. Basically, your new code for this step should NOT be inside the fieldset element.
If you need more help, please post all of your code, formatted as follows:
There are two ways you can format your code to make it easier to read and test:
After you copy/paste your code into the editor, select it by dragging your cursor over it then click the (</>) button in the toolbar to automatically wrap your code in backticks. (You can click on the animated demo image below to enlarge it.)
Manually add three backticks on a new line above your code and on a new line after your code. Note that a backtick is NOT the same as a single quote('). To find the backtick key on your keyboard, see this post.
To see changes to your post as you make them, you can click the (M+) button on the toolbar to bring up the rich text editor:
Je l’ai refait de nouveau telle que vous m’avez stipulé en faisant ceci `
Read our terms and conditions
I accept the terms and conditions
` et je tombe toujours sur le même message Vous devriez avoir un élément juste avant le texte.`a` `label` `Read our terms and conditions`
The anchor element should be before the label element the way you coded it originally. The only reason the original code did not pass the tests was because you wrote it inside the fieldset element.