Create a dynamic message from text input

I'm not sure how to display the value entered in the input box in another scene, like in the YouTube video. Please help me.

https://www.youtube.com/watch?v=73EeKthRYlQ&t=316s