Consider the following form that is used to log into a website. Please enter a valid...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
Consider the following form that is used to log into a website. Please enter a valid email address. emma@ Password Don't have an account? Create one now Login Marks Suppose the form has the following functionality: . As the user types their email address, display a warning if the value contains invalid characters. . When the email address has been entered, check if it matches an valid account and enable the login button if an account was found. . When the user clicks the login button, check whether password matches the email address and log into the site if it does. Identify and justify how each of the functions described above could make use of the following types of scripting. (6 marks) 8b) 10 Issue Marks Using either JavaScript or PHP code, implement the following functionality. (4 marks) Declare a new variable named username. Assign username a string value of "John". Declare a second variable named greeting and assign a value by joining the string "Hello" with the value stored in username. Display the final value of the greeting variable. A B I U X x 5 C E 19 ABC KA 123 KK Consider the following form that is used to log into a website. Please enter a valid email address. emma@ Password Don't have an account? Create one now Login Marks Suppose the form has the following functionality: . As the user types their email address, display a warning if the value contains invalid characters. . When the email address has been entered, check if it matches an valid account and enable the login button if an account was found. . When the user clicks the login button, check whether password matches the email address and log into the site if it does. Identify and justify how each of the functions described above could make use of the following types of scripting. (6 marks) 8b) 10 Issue Marks Using either JavaScript or PHP code, implement the following functionality. (4 marks) Declare a new variable named username. Assign username a string value of "John". Declare a second variable named greeting and assign a value by joining the string "Hello" with the value stored in username. Display the final value of the greeting variable. A B I U X x 5 C E 19 ABC KA 123 KK
Expert Answer:
Posted Date:
Students also viewed these programming questions
-
5.8 Calculate the U value for the following double- glazed windows assuming the temperatures and the heat transfer coefficients as given in Example 5.1: (a) Ordinary glass with vacuum between the...
-
Calculate the press force required in punching 0.5-mm-thick 5052-O aluminum foil in the shape of a square hole 30 mm on each side.
-
The Equality Company is now breaking even at sales of \(\$ 400,000\). The company has a total fixed cost of \(\$ 150,000\). The companys budgeted sales for next period are \(\$ 600,000\). What profit...
-
Which of the following statements regarding a sales budget is false? a. Input from the sales force may be useful in predicting sales b. Very large companies may hire economists to help forecast sales...
-
Mary is an employee of ABC corporation and incurs $3,600 of unreimbursed employment-related travel and entertainment expenses during the current year. These business expenses include the following:...
-
what is example for the Outline of an Informative Speech: if the topic would be about covide-19? I. Introduction A. Attention-getter B. Relevance of the topic C. Thesis statement II. Body A. Main...
-
Din has operated the Mahal Caf for the last two years. The business accounting year ends every 30 June. The caf is not currently registered for goods and services tax (GST)purposes as its annual...
-
Organizational Structure defines the hierarchy within an organization by identifying each job and where it reports to within the organization. Explain the organizational structure where you work or...
-
Organizational Culture is an important topic within the OB course. a.Explain what is meant by organizational cultureand give aclearexample oforganizational culturein an organization.(3) b. What is...
-
A 35-year-old person who wants to retire at age 65 starts a yearly retirement contribution in the amount of $5,000. The retirement account is forecasted to average a 6.5% annual rate of return,...
-
November 1 of the current year, a company entered into a purchase contract (not subject to revision or cancellation) to purchase 900 units of inventory for $50 per unit before January 31 of the...
-
In the context of organizational culture, how do underlying assumptions and beliefs shape employee behavior, and what methods can be used to align these with organizational goals ?
-
Presented below is information pertaining to Schreiber Corporation's defined benefit pension plan for the year ended August 31, 2021. Fair value of plan assets on September 1, 2020 $1,876,554 Defined...
-
Planning: Creating an Audience Profile; Collaboration: Team Projects. Compare the Facebook pages of three companies in the same industry. Analyze the content on all available tabs. What can you...
-
In confirming accounts receivable on December 31, 2001, the auditor found 15 discrepancies between the cus tomer s records and the recorded amounts in the subsidiary ledger. A copy of all...
-
Baerg & Vetzel, a public accounting firm, were the auditors of South-Western Development, Inc., a real estate company that owned several shopping centres in southwest ern Ontario. It was...
-
A partner in your public accounting firm has asked you to explain to a group of juniors the importance of engagement letters and the importance of following up unusual or unexplained items discovered...
Study smarter with the SolutionInn App