How to enter the response of this Prompt() in a text box?

I have this script that works perfectly, but to improve it I want the result of the function to be given in a text box, and with a button that allows me to copy this result, thanks https://code.sololearn.com/W5O4EhaW5G6J/?ref=app

21st Nov 2022, 6:03 AM
Gabriel Jose Pantoja
Gabriel Jose Pantoja - avatar
1 Answer
21st Nov 2022, 9:09 AM
Ausgrindtube - avatar