/    Sign up×
Community /Pin to ProfileBookmark

Can anyone code for Javascript?

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.

to post a comment
JavaScript

4 Comments(s)

Copy linkTweet thisAlerts:
@TheBearMayMar 05.2009 — Sounds like someone's homework to me...... We'll be glad to help you if you actually try and get stuck, but you're not going to get much assistance without putting forth some effort.
Copy linkTweet thisAlerts:
@ZeroKilledMar 05.2009 — since this is clearly a homework, we resign to do it. so, there is very low chance someone do it for you. however, we can help you with whatever code you have so far. if you need help, help us showing your code.
Copy linkTweet thisAlerts:
@misconduct_at_pauthorMar 05.2009 — I can see how you people believe that this is homework since its set up like so. I am just trying to see who can code problems but I can see its going to be hard to get my answers sovled since it looks like homework.
Copy linkTweet thisAlerts:
@skywalker2208Mar 05.2009 — I don't think anyone will just do the coding for someone whether it is homework or not. The board is meant to help people learn or help people with figuring out why something isn't working.
×

Success!

Help @misconduct_at_p spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.20,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...