I'm new in javaScript and don't now how to realize this. I have 'select' with numbers in my HTML.
<select class="form-control" id="select" >
<option>1</option>
<option>2</option>
<option>3</option>
</select>
When user will choose the number in this select, js will create as many input fields as the user chooses,like on this picture [
How to do this?