If you do it in this point, appendChild would be enough because you are inserting the input before rendering the list thought