Java Script Input and Output

Hello there for some reason I have that issue…its not allow to me to get the input and implement that after in the output. For example the output will be “Greetings, ${name}” instead of the input name