I've made a javascript code it adds a input type to HTML, please watch the video for more information in the description below.