I want write a function to do creating an html tag I have a input tag with and this function must add the value of this input to created html element and add a "x"