ComputerScienceExpert

(11)

$18/per page/

About ComputerScienceExpert

Levels Tought:
Elementary,Middle School,High School,College,University,PHD

Expertise:
Applied Sciences,Calculus See all
Applied Sciences,Calculus,Chemistry,Computer Science,Environmental science,Information Systems,Science Hide all
Teaching Since: Apr 2017
Last Sign in: 103 Weeks Ago, 3 Days Ago
Questions Answered: 4870
Tutorials Posted: 4863

Education

  • MBA IT, Mater in Science and Technology
    Devry
    Jul-1996 - Jul-2000

Experience

  • Professor
    Devry University
    Mar-2010 - Oct-2016

Category > Programming Posted 04 May 2017 My Price 12.00

ITEC 3280– Web Programming Assignment 3

need help fixing my html page and javascript and also css page i will upload what i have also the url for the assignments as well please help i only have 22 dollars. ashley had recommended you to me.

link 1: https://youtu.be/tjcvtFz25m0 

link 2 : https://youtu.be/JdeoX_sGEGI

 

 

ITEC 3280– Web Programming
Assignment 3
______________________________________________________________________________
Arrays and Objects Part I:
Create a web page (login.html) that contains a form to collect the following data.
User Name (text type)
Password (password type)
Login (button)
The page should also contain a blank division <div> to serve as an output area.
Be sure to add an external CSS file to both login.html and product_order.html (if you didn’t do so yet) to
apply proper styling. Part II:
Revise your product_order.js file so that it includes a new function – login(). When the function is called,
two corresponding arrays are created. The first array contains four (4) user names and the second array
contains four (4) passwords. It is often necessary to use a pair of arrays, called corresponding arrays to
perform "table look-up" functions.
For example, one array may contain company names and the second array would contain the
corresponding stock symbols. These are corresponding arrays in that the values in the first array
correspond with values in the second array at the same positional element:
var companies = new Array("Apple", "Google", "Microsoft");
var symbols = new Array("AAPL", "GOOGL", "MSFT");
Use a for loop to iterate the length of the array. As you loop, use an if statement to determine if the user
name and password input by the user matches any of the corresponding values stored in the arrays.
If matching username and password are found, use the location property of the Browser Object Model
window object to redirect the user to product_order.html page and exit the loop using the JavaScript
break command:
window.location="product_order.html";
break; If the loop ends without redirecting the user (meaning no matching user name/password are found),
display an error message in the output division.
You will also need to modify your init() function to include a second listener for your Login button.
Finally, revise your init() function so that it assigns the current date to the Date text box added to
product_order.html. The date should display in the format: 2/5/2015 or 02/05/2015. Use the JavaScript
Date() function.

Attachments:

Answers

(11)
Status NEW Posted 04 May 2017 06:05 AM My Price 12.00

-----------

Not Rated(0)