Answer the following statements true (T) or false (F)
1. In most cases the words function and method mean the same thing.
2. To define a function, you must use the function keyword.
3. The innerHTML property allows you to retrieve information from an element on a web page.
4. Parameters are values that the user inputs to a program.
5. The prompt() method allows you to prompt the user to input values.
1. T
2. T
3. F
4. F
5. T
You might also like to view...
Which of the following types of network would be set up in an office so that customers could access the Internet but not be given access to internal resources such as printers and servers?
A. Quarantine network B. Core network C. Guest network D. Wireless network
Many applications in computer graphics involve determining the relative positions of pixels in the plane. The following formula computes the distance between two points (x1, y1) and (x2, y2).
Create a Web page named distance.html that computes the distance between two arbitrary points. Your page should have text boxes where the user can enter the coordinates, then display the distance between those points at the click of a button.