/    Sign up×
Community /Pin to ProfileBookmark

Please help with simple JavaScript…

Using only HTML, CSS, and JavaScript, create an html webpage with a form like the one shown below with the following requirements. You may write the code at the end of this worksheet or attach it in a separate file.

  • 1. When an item is selected from the ‘Item’ pull down, it sets the ‘Quantity’ to 1 and adjusts the ‘Item Total’ and ‘Purchase Total’.

  • 2. When the ‘Quantity’ is adjusted for an item, it updates the ‘Item Total’ and ‘Purchase Total’.

  • 3. Using JavaScript and whatever HTML additions you need, provide a mechanism for the user to add or remove at least 3 additional items to their order.

  • 4. When the form is submitted, check the email address and phone number fields for correctly formatted values. (Assume phone number should be the format XXX-XXX-XXXX)

  • 5. Using whatever HTML, CSS, or JavaScript you want, make the page as professional looking and user friendly as possible.
  • Possible Items:
    Basketball – $19.95
    Baseball Bat – $14.95
    Baseball Glove – $22.95
    Football – $25.95
    Soccer Ball – $29.95

    to post a comment
    JavaScript

    1 Comments(s)

    Copy linkTweet thisAlerts:
    @KorJul 29.2006 — Welcome to the Forum!

    eeer... and what have u done so far? Where can we help you? can you provide us some of yout test codes?

    ____
    We do not do someoneelse's homework. We might help others to [I]complete/ repair/continue[/I] their homeworks.
    ×

    Success!

    Help @dmich 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.19,
    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,
    )...