Created userInput in Prompt and Alert

Created userInput in Prompt and Alert