Tell us what’s happening:
I wondering if I’m doing it correctly and if im supposed to have a min and max selection.
Your code so far
<!-- file: index.html -->
<h1 id="title"></h1>
<p id="description"></p>
<form id="survey-form">
<input id="name" type="text"></input>
<input id="email"></input>
<input id="number"></input>
</form>
/* file: styles.css */
Your browser information:
User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.5 Safari/605.1.15
Challenge: Survey Form - Build a Survey Form
Link to the challenge:
hbar1st
February 13, 2023, 10:26pm
2
input is a self-closing element.
I’m not sure what your question is. Did you just want someone to tell you what mistakes you made? (you can use an online html validator for that)
yeah and how do you do that? It asked me this question below. im trying to figure if they want me to use a selector{}
If you enter numbers outside the range of the number input, which are defined by the min
and max
attributes, you will see an HTML5 validation error
hbar1st
February 13, 2023, 11:39pm
4
Since I didn’t remember, I just googled up ‘html input min max’ and then clicked on the MDN docs which led me to this example
<input type="number" min="0" max="100">
system
Closed
August 15, 2023, 11:40am
5
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.