How to replace a tag?

Hello, make a clone of trello and want to edit the column name. I have a div with the title and when clicking on it need to put a div instead of input. We need to implement in pure JS. Tell me how to do it.
March 20th 20 at 11:51
1 answer
March 20th 20 at 11:53
so for example you can) without JS)

Find more questions by tags JavaScript