This is my code i dont get it to work, i want it to ask the user how is he and depending on the answer alert something, and call the user by the name.
var name=prompt("Hi. Whats your name?")
var mood=prompt("Hi " + name + ". How are you?")
alert("Im glad you are fine, " + name)
alert("Ooo. Thats bad, Im sorry. I hope you get better, " + name)