Please help friends. Is it my error? I don't know how to range a number

9. If I enter numbers outside the range of the number input, I will see an HTML5 validation error

its my sollution code

 <label for="number">Contact Number:</label>
<input type="number" id="number" placeholder="please enter contact number">

how can i range a number which show a validation …

where is your solution code 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 (’).

1 Like