Survey Form - Build a Survey Form

Tell us what’s happening:
Hey guys, doing my first solo run here it looks like ( solo-ish) and i am super nervous but so far I have a lot more tics than x’s so that’s good. I want to ask for some feedback for the numberic min and max value. it is saying I didn’t do it correctly but my code appears to work because it wont allow me to enter anything non numberical.
my second question is, it keeps referencing it as a #number, i haven’t used this format so far in my code previously and its working, do i ignore that or am i making a big mistake somewhere not entering my id selectors this way?
thanks

Your code so far

<!-- file: index.html -->
<!DOCTYPE html><html lang="en"></html>
<link rel="stylesheet" href-"styles.css">
<h1 id="title"="What Do You Want To Learn About Coding"</h1>
<p id="description">Learn More About Coding Survey</p>
<form id="survey-form">
  <label id="name-label"><input id="name" type="text" required placeholder="name" ></label>
<label id="email-label"><input id="email" type="email" required placeholder="email" ></label>
<label id="number-label"><input id="number"type="number" required placeholder="number">
<number {min:1; 
max:9;}></label>
<select id="dropdown" type="dropdown">
  <option></option><options></option>

/* 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/116.0.0.0 Safari/537.36

Challenge: Survey Form - Build a Survey Form

Link to the challenge:

sorry for my misspellings… lol i promise i know how to spell numerical .

<number {min:1; max:9;}>

This is not a valid HTML element. The number element does not exist. Get rid of it.

“Your #number should have a min attribute with a numeric value.”

This is your #number element:

<input id="number"type="number" required placeholder="number">

I don’t see a min attribute on it. I suggest you add one :slightly_smiling_face:

1 Like

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