I am stuck in step 27 in Registration Form module. I follow the steps but still have an error. " You should have an an element right before the label with the text Read our terms and conditions."
Your code so far
<!-- file: index.html -->
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Registration Form</title>
<link rel="stylesheet" href="styles.css" />
</head>
<body>
<h1>Registration Form</h1>
<p>Please fill out this form with the required information</p>
<form method="post" action='https://register-demo.freecodecamp.org'>
<fieldset>
<label for="first-name">Enter Your First Name: <input id="first-name" type="text" required /></label>
<label for="last-name">Enter Your Last Name: <input id="last-name" type="text" required /></label>
<label for="email">Enter Your Email: <input id="email" type="email" required /></label>
<label for="new-password">Create a New Password: <input id="new-password" type="password" pattern="[a-z0-5]{8,}" required /></label>
</fieldset>
<fieldset>
<legend>Account type (required)</legend>
<label for="personal-account"><input id="personal-account" type="radio" name="account-type" value="personal" checked /> Personal</label>
<label for="business-account"><input id="business-account" type="radio" name="account-type" value="business" /> Business</label>
<!-- User Editable Region -->
<a href="https://www.freecodecamp.org/news/terms-of-service/">Read our terms and conditions</a>
<label for="terms-and-conditions"><input type="checkbox" id="terms-and-conditions" required>I accept the terms and conditions</label>
</fieldset>
<fieldset></fieldset>
<!-- User Editable Region -->
<input type="submit" value="Submit" />
</form>
</body>
</html>
These lines of code were before the edit area of your starting code, but here they are after the edit area. I suggest resetting the step to restore the original code then try again. All of the code you added looks good; it’s just in the wrong place.
hello! please take reference from this, and switch the positions of these tags accordingly. Also try to keep changes limited to the User Editable Region in future.