+1(316)4441378

+44-141-628-6690

arrays

Part I

Create an array of the six New England states. Use a prompt box to get input from the viewer. The input will be a number between 0 and 5 (JavaScript is zero-based). Based on the number that is input you will then produce an alert box to display which state was selected based on the input number.

You may have to add a parseInt() function to the prompt to convert the input value from a string to a numeric value.

var num =parseInt(prompt(“Input a number between 0 and 5”,0))

Part II

Using the array principles demonstrated in the lecture you are to construct a listing of 6 pizza chains that are actively linked to the chain’s web page. You may not use the variable names provided in the lecture example.

A text-based hyperlink will be acceptable but the link text must be extracted from an array. The link text and the link address can be contained in the same array or in separate arrays. Although the text option is acceptable and will satisfy this assignment a linked button would be more desirable.

Links that are not coded from an array will not be considered as accomplishing the assignments requirements.

This will require you to employ concatenation to make it work.

 

You can place an order similar to this with us. You are assured of an authentic custom paper delivered within the given deadline besides our 24/7 customer support all through.

 

Latest completed orders:

# topic title discipline academic level pages delivered
6
Writer's choice
Business
University
2
1 hour 32 min
7
Wise Approach to
Philosophy
College
2
2 hours 19 min
8
1980's and 1990
History
College
3
2 hours 20 min
9
pick the best topic
Finance
School
2
2 hours 27 min
10
finance for leisure
Finance
University
12
2 hours 36 min
[order_calculator]