Сustomized visitor experience

Thank you so much!
Is there any chance you could help me understand this a bit better? Shall I create user inputs and connect them to this code?