Question: QUESTION 2 25 MARKS 2.1 You just created a website for a client, and they want you to add a page that will allow

QUESTION 2 25 MARKS 2.1 You just created a website for a

QUESTION 2 25 MARKS 2.1 You just created a website for a client, and they want you to add a page that will allow the client to change the date when the website was last updated. This date would then be displayed on the front page (we are not concerned about how the date is displayed on the front page). Using your knowledge of functions, arrays and JavaScript date objects, create a JavaScript program that gets the date from the user using a form as below and send it to a function called dateUpdate(). For testing purposes, you are to use an alert to see if your function is working. Your program should get the date from the user in the format YYYY-MM-DD. On clicking the Send Update Date button, the function should display the output in an alert box as shown below. Update Form: -Update Date When was this website updated?: YYYY-MM-DD Output: This page says This page was last updated: 25/Jul/22 Send Update Date OK [20] 2.2 Using a for loop, write a JavaScript program that can be used to convert this string to uppercase or capital letters "i love javascript programming with all my heart" and print the results 5 times. QUESTION 3 3.1 50 MARKS [5] Global IT a web development company you work for as a junior web developer has been given

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 Programming Questions!