Tell us what’s happening:
I can’t seem to get the right code I need help on the type attribute for email input I can’t tell whats wrong keep try but don’ t know.
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'>
<!-- User Editable Region -->
<fieldset>
<label for="first-name">Enter Your First Name: <input id="first-name" type:"text" /></label>
<label for="last-name">Enter Your Last Name: <input id="last-name" type:"text" /></label>
<label for="email">Enter Your Email: <input type:"email" id="email" /></label>
<label for="new-password">Create a New Password: <input id="new-password" type:"password" min-length="8" required /></label>
</fieldset>
<!-- User Editable Region -->
<fieldset></fieldset>
<fieldset></fieldset>
</form>
</body>
</html>
This is what its saying : " You should give the third input element a type attribute of email .". I tried changing the space between the attribute but still no fix
You should give the third input element a type attribute of email .
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.