Step 19 Registration Form Need Help

I don’t understand what am I doing wrong here,

STEP 19:

"Certain type attribute values come with built-in form validation. For example, type=“email” requires that the value be a valid email address.

Add custom validation to the password input element, by adding a minlength attribute with a value of 8. Doing so prevents inputs of less than 8 characters being submitted."

   **Your code so far**
/* file: index.html */
<!DOCTYPE html>
   <title>Registration Form</title>
	  <link rel="stylesheet" type="text/css" href="styles.css" />
   <h1>Registration Form</h1>
   <p>Please fill out this form with the required information</p>
   <form action=''>
       <label>Enter Your First Name: <input type="text" required /></label>
       <label>Enter Your Last Name: <input type="text" required /></label>
       <label>Enter Your Email: <input type="email" required /></label>
       <label>Create a New Password: <input type="password" minlength="8" required /></label>
     <input type="submit" value="Submit" />
/* file: styles.css */
body {
 width: 100%;
 height: 100vh;
 margin: 0;
 background-color: #1b1b32;
	color: #f5f6f7;

label {
	display: block;
	margin: 0.5rem 0;

   **Your browser information:**

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/ Safari/537.36

Challenge: Step 19

Link to the challenge:


Your code passes the test for me.

If you’re using Safari, try using a different browser.
Safari is causing this kind of problem with some of the tests in the new curriculum.

Otherwise, try disabling any extensions (e.g. ad blockers etc.) or dark themes that might be interfering with the tests.

Thanks, refreshing the page and trying again worked!

Hi, I have the same problem. I’m using Google Chrome Version 104.0.5112.102. I disabled all extensions and it still doesn’t work. The code is the same as amwpc5’s.

I refreshed the page, than closed and opened browser. Nothing!

Please make a new topic with your code to make sure there are no typos, a simple dot or comma out of place is hard to see and can cause problems.

It’s harder to help people on an already answered topic.

It suddenly worked out. I don’t know what happened.

Thanks. :blush:

1 Like

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.