Below are ten problems that need to be coded in javascript. If you think you can code then show me that you with posting your txt file here.
———————————————————————
Create a program that prompts users for the name of the state where they live. Create a decision making structure that evaluates the name of the state and displays an alert dialog box containing the name of the region where the state is located: North, South, East, West, Midwest, Southwest, and so on. Use the appropriate decision structure to create this program. Save the HTML document as Regions.html.
Create a program that calculates an employee’s weekly gross salary, based on the number of hours worked and hourly wage. Compute any hours over 40 as time and a half. Use the appropriate decision structure to create the program. Save the HTML document as Wages.html.
Write a while statement that prints all the odd numbers between 1 and 100 to the screen. Save the HTML document as OddNumbers.html.
Create a questionnaire that prompts visitors to your web page for personal information such as name, address, occupations and so on. Assign each piece of information to an array, then use a for loop to print the information to the screen. Save the HTML document as Questionnaire.html.
Write a program that calculates a 15% return on investment of $10,000. Calculate how many years it will take for a single $10,000 investment to reach $1,000.000 at an average annual return of 15%. Use a looping statement and assume that each iteration is equivalent to a year. Save the HTML document as Millionaire.html.
Use an appropriate looping statement to write a program that prints a list of the Celsius equivalents of zero degrees Fahrenheit through 100 degrees Fahrenheit. To convert Fahrenheit to Celsius, subtract 32 from the Fahrenheit temperature the multiply the remainder by 0.55. To convert Celsius to Fahrenheit, multiply the Celsius by 1.8 and then add 32. Save the HTML document as TemperatureChart.html.
Create a program that calculates and employee’s weekly gross salary, tax withholding (which is 15% of the gross pay) and net pay, based on the number of hours worked and hourly wage. Compute any hours over 40 as time-and-a-half. Use the appropriate decision structure to create the program. Display the weekly gross pay, tax withholding, and next pay in text boxes, not in alert boxes. Save the file as GrossPay.html
Create and HTML document that contains a list of hyperlinks to your favorite recipes. Clicking each hyper link opens a document in a separate window to display the selected recipe. Include a close button within each recipe’s window. Name the main HTML document Recipes.html, and name each recipe document according to the recipe name. For example, if you have a recipe for apple pie, name its associated HTML document ApplePie.html.
Create an HTML document that repeatedly turns a status message on and off in the status bar, similar to a blinking neon sign. You will need to use a decision structure such as an if…then statement to create the document. Save the document as FlashGreeting.html.
Create an HTML document that redirects users to a different page. Automatically redirect users after 10 seconds, or allow them to click a hyperlink. Name the main redirection document Redirect.html and the target document Correct.html.