Question: Q1) Fill in the blanks 1. Javascript is called client side programming because it runs on the __________________ not on the web server. 2. Write

Q1) Fill in the blanks 1. Javascript is called client side programming because it runs on the __________________ not on the web server. 2. Write the script tag that will execute an alert with message Hello from Javascript!, no need to include a script file. Just complete the following javascript code

Q2)

a. What is the main function of DOM?

b. What is the purpose of HTML DOM Node Tree?

Q3) Complete the following code by adding:

(1) A function called AreaBox that takes two arguments, the length and width of the rectangle and returns the Area of a rectangle.

(2) A function called PerimeterBox that takes two arguments, the length and width of the rectangle and returns the perimeter of a rectangle.

(3) A Function called Rectangle that gets the length and the width of the rectangle from the user and displays the area and the perimeter of the corresponding rectangle.

Q1) Fill in the blanks 1. Javascript is called client side programming

because it runs on the __________________ not on the web server. 2.

chead>

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!