Question: (a) Explain what the difference is between client side and server side script- ing. Why do we need both forms of scripting? (3) (b) During

(a) Explain what the difference is between client side and server side script- ing. Why do we need both forms of scripting? (3) (b) During the module you learnt that HTML provides 6 levels of heading elements (, ..., ). Write a HTML document which has an embedded block of JavaScript code. The JavaScript code should write 6 lines of text into the document. Each line of text should be - "This is heading X" where the value of X corresponds to the level of heading, as shown in the image below. (6) This is heading 1 This is heading 2 This is heading 3 This is heading 4 This is heading 5 This is heading 6 (c) Explain, with the aid of an example, what AJAX is. State, in terms of user experience or the technicalities of web development, one advantage of using AJAX over more traditional web development approaches e.g. Information passing between pages via hyper-linking. (4)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
