Help Me/Question What Is The Use Of Alert() And Prompt() Functions?

Doominic anderson

White Belt
In JavaScript there are two types of functions, functions with parameters and functions without parameter.
Functions with parameters contain parameters in the parenthesis,such as integer and strings, the value of members of these functions can be changed at runtime by passing different values of their parameters.
What is the use of alert() and prompt() functions?
Alert() is used to information comes through to the user.
Prompt() helps user to input a value before entering a page