/    Sign up×
Community /Pin to ProfileBookmark

help with calculation and form please

I’m a student taking my first web design course and we just started javascript. I have to write a code in javascript that adds the total prices of 3 items according to their quantity and then write a form for the name, address, tel #, credit card etc.. (not using spry).
I searched online and came up with one that works correctly but my professor says that it should be very short and does not use spry elements. Can someone please help me.
Here is the info below

Outdoor supplies:
ITEM PRICE QUANTITY

  • 1. kayak $775.00 1

  • 2. dry bag $15.00 2

  • 3. helmet $50.00 1
  • There should be a subtotal based on the quantity of items.

    Then there should be a form with name, address, credit card # etc

    to post a comment
    JavaScript

    1 Comments(s)

    Copy linkTweet thisAlerts:
    @AirbladerAug 22.2013 — You should start off with showing us your work so far, how else would we help you without doing your homework.
    ×

    Success!

    Help @ANTOMAX 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 6.15,
    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: @nearjob,
    tipped: article
    amount: 1000 SATS,

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

    tipper: @meenaratha,
    tipped: article
    amount: 1000 SATS,
    )...