How do I do the following "in sequence" using JS:

a) Welcome the visitor
b) Prompt the visitor for his name
c) Display the users name on the screen
d) Ask the visitor to enter two numbers
e) Add these two visitor entered numbers and add them together and returns the result to the visitor
f) Thank the user for using the program

Thanks in advance.