New course! Every coder should learn Generative AI!
Try a free lesson- 2
What is difference between an alert box proumpt and confirmation box?
Javascript
2 Answers
+ 1
Alert Box: Show up a message, information with only Ok button.
Prompt: Ask user for input and store in variable.
Confirm: Ask user if they Confirm to your condition or not with Choice of Cancel and Ok.
+ 1
Why do you ask all these questions here? The answers to all of them can be found in any JS tutorial. At least start from Sololearn course.