what does this mean?
Your #number
should have a min
attribute with a numeric value?
thx jasper
what does this mean?
Your #number
should have a min
attribute with a numeric value?
thx jasper
Please post your code and a link to the challenge you are working on. Thanks
my code so far:
<h1 id="title">hey</h1>
<p id="description">hello</p>
<form id="survey-form">
<input type="text" id="name" name="username" required>
<input type="email" id="email" name="username" required>
<input type="number" id="number" name="username" required>
</form>
i am in a free code camp challenge
link:
I’ve edited your post 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.
See this post to find the backtick on your keyboard.
Note: Backticks (`) are not single quotes (’).
it seems to be missing the requested min
attribute
idk it works could u tell me what to right?
We still don’t write answers for you here.
You have added a bunch of attributes to this input
element - a type
attribute, an id
attribute, a name
attribute, and a required
attribute. Now you need to add a min
attribute with the value of whatever the smallest number you want the form to accept.
ohh thanks now it makes sense
before u gave me an answer
i carnt find out how to right a min attribute, could u help
What have you tried?
i tried min() and it didnt work
It helps if you show all of your code. min()
is not any HTML syntax I’m familiar with, so I’m not sure how you are trying to use it.
i solved it:
min=“1” max=“5”
thanks for ur help
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.