Trying to restrict input to numeric only with a min/max of 10 digits. All searches say this should be the correct code. It is restricting to numeric, but won’t cap input at 10 digits.
Line 16
<label id="number-label">Enter Your Phone Number: <input type="number" id="number" placeholder="4808675309" pattern="[0-9]" maxlength="10" minlength="10"></label>
**Your code so far**
\ file: <!DOCTYPE html>
<html>
<head>
<title>Survey Form</title>
<link rel="stylesheet" type="text/css" href="styles.css" />
</head>
</html>
<body>
<h1 id="title">Survey Form</h1>
<p id="description">Please take a moment to fill out our survey so we can get to know you better!</p>
<form id="survey-form">
<fieldset id="info-field">
<h3 id="info">Personal Info</h3>
<label id="name-label">Enter Your Name: <input type="text" id="name" required placeholder="Cris Parks"></label>
<label id="email-label">Enter Your Email: <input type="email" id="email" required placeholder="crisparks@freecodecamp.org"></label>
<label id="number-label">Enter Your Phone Number: <input type="number" id="number" placeholder="4808675309" pattern="[0-9]" maxlength="10" minlength="10"></label>
<label id="home-business">What Type of Number is This? <label id="home">Home<input id="home-phone" type="radio" name="phone-type"></label>
<label id="business">Business<input id="business-phone" type="radio" name="phone-type"></label>
</label>
<label id="gender">How Do You Identify?
<select name="gender">
<option value="">(select one)</option>
<option value="1">Other</option>
<option value="2">Female</option>
<option value="2">Male</option>
</select>
</label>
</fieldset>
<fieldset id="pastimes-field">
<h3 id="pastime">What Pastimes Do You Enjoy?</h3>
<label id="hobies" ><input type="checkbox" name="video-games">Video Games</label>
<input type="checkbox" name="music">Music</label>
<input type="checkbox" name="hiking">Hiking</label>
<input type="checkbox" name="beach">The Beach</label>
</label>
</fieldset>
<fieldset id="bio-field">
<h3 id="tell-us">Tell Us a Little More About Yourself:</h3>
<label id="bio"><textarea id="bio-field" rows="3" cols="30" placeholder="I like coding on the go..."></textarea>
</label>
</fieldset>
<input id="submit" type="submit" value="Submit" />
</form>
</body>
<!DOCTYPE html>
<html>
<head>
<title>Survey Form</title>
<link rel="stylesheet" type="text/css" href="styles.css" />
</head>
</html>
<body>
<h1 id="title">Survey Form</h1>
<p id="description">Please take a moment to fill out our survey so we can get to know you better!</p>
<form id="survey-form">
<fieldset id="info-field">
<h3 id="info">Personal Info</h3>
<label id="name-label">Enter Your Name: <input type="text" id="name" required placeholder="Cris Parks"></label>
<label id="email-label">Enter Your Email: <input type="email" id="email" required placeholder="crisparks@freecodecamp.org"></label>
<label id="number-label">Enter Your Phone Number: <input type="number" id="number" placeholder="4808675309" pattern="[0-9]" maxlength="10" minlength="10"></label>
<label id="home-business">What Type of Number is This? <label id="home">Home<input id="home-phone" type="radio" name="phone-type"></label>
<label id="business">Business<input id="business-phone" type="radio" name="phone-type"></label>
</label>
<label id="gender">How Do You Identify?
<select name="gender">
<option value="">(select one)</option>
<option value="1">Other</option>
<option value="2">Female</option>
<option value="2">Male</option>
</select>
</label>
</fieldset>
<fieldset id="pastimes-field">
<h3 id="pastime">What Pastimes Do You Enjoy?</h3>
<label id="hobies" ><input type="checkbox" name="video-games">Video Games</label>
<input type="checkbox" name="music">Music</label>
<input type="checkbox" name="hiking">Hiking</label>
<input type="checkbox" name="beach">The Beach</label>
</label>
</fieldset>
<fieldset id="bio-field">
<h3 id="tell-us">Tell Us a Little More About Yourself:</h3>
<label id="bio"><textarea id="bio-field" rows="3" cols="30" placeholder="I like coding on the go..."></textarea>
</label>
</fieldset>
<input id="submit" type="submit" value="Submit" />
</form>
</body>
\ file:
**Your browser information:**
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/101.0.4951.67 Safari/537.36
Challenge: Build a Survey Form
Link to the challenge:

