Survey Form - Build a Survey Form

Tell us what’s happening:
Describe your issue in detail here.

Your code so far

<!-- file: index.html -->
<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8">
    <title>Survey Form</title>
    <link rel="stylesheet" href="styles.css"/>
     </head>
     <body>
         <h1 id="title">Survey Form</h1>
         <p id="description">Lets build a survey form.</p>
         <form id="survey-form">
<div>
  <input id="name" type="text" required>
    </input>
      </div>
<div>
  <input id="email" type="email" required> 
    </div>
<div>
  <input id="number" type="number" minlength="8" maxlength="20">  
     
    
  
/* file: styles.css */

Your browser information:

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

Challenge: Survey Form - Build a Survey Form

Link to the challenge:

‘’ Has asked to add a minlength and maxlength attribute. I’ve tried this leaving leaving them blank and adding my own values. It doesn’t stipulate what the values should be…‘’

is this all our code? It seems to be missing the bottom half?

– No it’s just the code up until the instruction which asks me to input a minlength and maxlength atrribute with a numerical value… This is where I’m stuck.

  • Passed:Your #number should have a min attribute with a numeric value.

*> Passed:Your #number should have a max attribute with a numeric value.

Try doing what this step wants and define a min and a max (these are the names it is expecting not minlength or maxlength)

1 Like

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