How to do that would by clicking the buttons in the input field inserted text?

How to implement the button and the input field. When you click in the input field after text is written there is added text which is shown on the button. An example can be seen when typing the question in the Toaster)))
March 20th 20 at 11:23
1 answer
March 20th 20 at 11:25


Find more questions by tags JavaScriptjQuery