Tell us what’s happening:
Describe your issue in detail here.
Your code so far
/* file: index.Ext.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>Enter Your First Name: <input id="first-name"><label for> <input id="first-name" /></input></label>
<label>Enter Your Last Name: <input id="last-name"><label for> <input id="last-name" /></input></label>
<label>Enter Your Email: <input id="email"><label for> <input id="email" /></input></label>
<label>Create a New Password: <input id="new-password"><label for> <input id="new-password" /></input></label>
</fieldset>
<fieldset></fieldset>
<fieldset></fieldset>
</form>
</body>
</html>
/* file: styles.Ext.css */
<!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>Enter Your First Name: <input id="first-name"><label for> <input id="first-name" /></input></label>
<label>Enter Your Last Name: <input id="last-name"><label for> <input id="last-name" /></input></label>
<label>Enter Your Email: <input id="email"><label for> <input id="email" /></input></label>
<label>Create a New Password: <input id="new-password"><label for> <input id="new-password" /></input></label>
</fieldset>
<fieldset></fieldset>
<fieldset></fieldset>
</form>
</body>
</html>
Your mobile information:
M2101K6G - Android 13 - Android SDK 33
Challenge: Learn HTML Forms by Building a Registration Form - Step 18
Link to the challenge:
The second input element should have an id of last-name.
What am I doing wrong?