الفريق العربي للبرمجةأرشيف المنتديات · 2000 – 2023
نسخة أرشيفية للقراءة فقط — التسجيل والمشاركة مغلقان، والمحتوى محفوظ كما كان.

ارجوا المساعده ...

مغلق
بدأه w6n في 23 يوليو 2007 · 2 رد · 789 مشاهدة · في منتدى تصميم صفحات الويب
مشاركة: واتساب X فيسبوك تيليجرام
#1 صاحب الموضوع

السلام عليكم ورحمة الله وبركاته

ارجوا المساعده في حل هذه المسأله عن طريق الجافا سكريبت

--------------------------------------------------------

IS443: Internet Applications

HW #2: JavaScript

Order Form with Money Converter

  • Create a basic web page named lastname-hw2.htm using best coding practices.
  • Use Your Name: Homework #2 as the title of the web page. Replace the phrase Your Name in this step and in all following steps with your actual first and last names.
  • Create a web page for an international store that sells products of your choosing.
    • The page should contain the name of your fictional company, along with the basics needed to flesh out the rest of the page.
    • The page should contain a form where users may:

i. View the price, in Riyals of the available items. There should be a minimum of three items.

ii. Enter or select which items the user wishes to buy. (Users should be able to buy one, two, or all three items).

iii. Select which currency (Riyals, US$, Euros, or Yen) he will use to pay.

iv. Click on a button (or buttons) to call a function (or functions) to perform calculations.

    • The calculation function(s) should determine and display on the page:

i. How much, in Riyals, the total order is.

ii. How much, in the selected currency, the total order is.

    • Hints:

i. Currency conversion rates are readily available online, at Yahoo Finance (http://finance.yahoo.com/currency?u) for example.

ii. The formula for converting currency is Currency1 * R = Currency2, where Currency1 is the amount of starting currency, R is the conversion rate, and Currency2 is the desired currency.

iii. Example: You determine that 1 US dollar is worth .2946 Kuwaiti dinars. Thus the conversion rate is .2946. The purchase price of an item in dollars is $38.99. In Kuwaiti dinars this same item would be 38.99 * .2946 = 11.49 dinars.

  • Be sure to appropriately comment your code, adding a comment to each function to describe its purpose and after each variable declaration to describe the data contained in the variable.
  • Test and debug your page as necessary. Upload the final product to the server.

-----------------------------------------------------

اتمنى اللي يعرف يساعدني وله جزيل الشكر

تحياتي

#2

مشكور اخوي دكتور عبدالرحمن

بس يالغالي وينه منتدى الجافا سكربت ؟؟؟؟

#3
/index.php?showforum=20

هذا الموضوع مغلق.

مواضيع مشابهة

عدد الزوار حالياً

المتواجدون خلال آخر دقيقتين · يتحدّث كل ٣٠ ثانية

—الإجمالي—أعضاء مسجّلون—زوار بدون تسجيل

جارٍ التحقق من المتواجدين…