Normally charge a shipping and handling charge for purchases

Assignment Help Other Subject
Reference no: EM13284642

Many companies normally charge a shipping and handling charge for purchases. Create a Web page that allows a user to enter a purchase price into a text box and includes a JavaScript function that calculates shipping and handling. Add functionality to the script that adds a minimum shipping and handling charge of $1.50 for any purchase that is less than or equal to $25.00. For any orders over $25.00, add 10% to the total purchase price for shipping and handling, but do not include the $1.50 minimum shipping and handling charge. The formula for calculating a percentage is price * percent / 100. For example, the formula for calculating 10% of a $50.00 purchase price is 50 * 10 / 100, which results in a shipping and handling charge of $5.00. After you determine the total cost of the order (purchase plus shipping and handling), display it in an alert dialog box.

I understand the concept of javascript but I find it hard to write the code myself. I'm stuck!

Reference no: EM13284642

Questions Cloud

Associate level material-medical documentary : An episode of a medical drama. A medical documentary. A patient education documentary. A training presentation for new hires
Health policy and quality in health care : Imagine you were the prime minister of a small island that has a healthy population, a weak financial economy, and a senior population that exceeds 35%. Develop a health care policy that meets the needs of your citizens. Provide the rationale behind ..
Determine the bottom hole pressure of an oil well : Determine the bottom hole pressure of an oil well 2450 feet deep containing oil with a specific gravity of 0.815. Let the well head pressure be 1145 psia
Type of individual in the community : More than 90% are male; More than 40% are younger than age 20; More than 70% are younger than age 30; Poor, and often from a minority group. Based on this description what problems will you have as a probation or parole officer in supervising this ty..
Normally charge a shipping and handling charge for purchases : Many companies normally charge a shipping and handling charge for purchases. Create a Web page that allows a user to enter a purchase price into a text box and includes a JavaScript function that calculates shipping and handling.
Policy definition for business continuity-disaster recovery : Why is it important for an organization to have a policy definition for business continuity and disaster recovery?Why is it important for an organization to have a plicy definition for business continuity and disaster recovery?
Correctional systems and auburn penitentiaries : What can corrections today learn from the correctional systems found at the Eastern State and Auburn penitentiaries? It can be argued that the reforms proposed in the First Correctional Congress, held in 1870, still have not been fully implemented in..
Four levels of measurement occupies the top of the pyramid : Which of the four levels of measurement occupies the top of the pyramid? Which of the following types of statistics is used to make conclusions about a population based on a sample? What term best describes the question, "Am I creating an accurate me..
Worse than current health care delivery methods : In your opinion, where will health care be delivered in the future? Are these changes better or worse than current health care delivery methods

Reviews

Write a Review

 

Other Subject Questions & Answers

  Why does the ntsb use party system

Why does the NTSB use "Party System"? Isn't there a conflict of interest that may taint the investigation? Explain why or why not.

  Professional training in science or technology

Very few elected officials in America have professional training in science or technology. In a paragraph or two explain what you think? Does this inhibit the effective governance of science and technology?

  Create a cron file that will regularly perform

Create a cron file that will regularly perform the following backups:

  Audience in receiving mass media messages

What is the responsibility of the audience in receiving mass media messages? Should those of us who study the field of Communication help those around us become more media literate?

  How to offer gospel from worldviews

How would you offer the gospel to an individual who comes from one of the given worldviews: Secular Humanism, Hinduism, Buddhism, Islam or Judaism?

  Memory accuracy and critical thinking

Since we all create our memories through the filters of our lives, then play them back through an imperfect system of recall, is there such a thing as an accurate memory?

  Inter-agency cooperation issues

Is the fusing of intelligence a continues issue? There have been numerous instances in which DHS has experienced turf wars with the Central Intelligence Agency (CIA) and the DoD

  A pipeline has a constant diameter

A pipeline has a constant diameter. A length AB of the pipeline is 250 m and rises 60m from point A to point B. The pressure at A is 320 kPa and at B 200kPa.

  Culture-bound theory of motivation

What is meant by the term a culture-bound theory of motivation? What can a newly assigned expatriate manager do to decrease the intensity and negative effects of culture shock? Explain.

  Numerous environmental problems

In light of the numerous environmental problems we are facing, sustainability issues, the role of human values, politics, and economics in these issues

  Systems design and implementation

The purpose of systems design is to answer the question “How will the information system solve a problem?” Write a 1-2 page paper which introduces systems design and different methods of accomplishing your goal. Explain the hardware, software and use..

  Past century based upon monroe doctrine-roosevel corollary

The United States has repeatedly intervened in the affairs of many Latin American countries in the past century based upon the Monroe Doctrine and the Roosevelt Corollary.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd