The JavaScriopt alert box displays a message to the user. The user will have to click "OK" to proceed.
alert("Hey, remember to tell your friends about Website-Tutorial.net!");
The prompt popup box let the user to enter value before to proceed. The user will have to either cilck OK or Cancel to proceed after entering an input value.