QUESTION
|
MY ANSWER
|
CORRECTION
|
|
What are alerts, prompts and confirms?
|
Popup windows.
|
Three methods of window objects. They create pre-defined, popup types of dialogue objects within a window object.
|
|
What happens when you click 'ok' in an alert dialog box?
|
It shuts down the alert box.
|
Got correct answer.
|
|
What sort of box (alert, prompt, confirm) has a space for writing?
|
Prompt.
|
Got correct answer.
|
|
What kind of box will have a question?
|
Confirm.
|
Got correct answer.
|
|
What is a function?
|
A command or a set of commands.
|
A block of code - a series of programming statements or lines - grouped together and given a name.
|
|
How many times can a function be called?
|
As many times as needed.
|
In a simple script, a function is usually invoked just once; but a function can be called as many times as you like.
|