Solve asap!! I have less than 2 hours to upload my assignment...
(p.s.: please don't copy the same thing as the other, it's not what I want.)
• City list contains the following values: Amman, Salt, Irbid, Zarqa.
• Topics Prices: HTML (50JD), CSS (90JD), JavaScript (100JD).
• When the "I have a discount code" checkbox is checked, create a text box to enter the discount, and when it is unchecked, remove the text from the page as shown in the figures below.
• If the entered code is "111", the discount amount will be 20% of the total price, otherwise discount = 0.
• When the "Participate" button is pressed, calculate the course price and display all information in an alert window as shown in the figures below.
Q2: Create a web page using HTML (course reg.html) and JavaScript as shown in the figure below to do the following:
course reg.html
X
v
C File/AAU/Courses..
.
Online Courses
City: [Amman v] Gender: Male Female Courses: HTML CSS JavaScript I have a discount code [Participate]
City list contains the following values: Amman, Salt, Irbid, Zarqa. Topics Prices: HTML (50JD), CSS (90JD), JavaScript (100JD). When the "I have a discount code" checkbox is checked, create a text box to enter the discount, and when it is unchecked, remove the text from the page as shown in the figures below.
course reg.html
X - C File/AAU/Courses..
Online Courses
Online Courses
Name: Majdi City: [Amman v] Gender: Male Female Courses: HTML CSS JavaScript I have a discount code [Participate]
City: [Amman v] Gender: Male Female Courses: HTML CSS JavaScript I have a discount code [Participate]
course reg.html
X
F > c
@ File | D:/AAU/Courses/Internet%20Applications%20Development/Examples/JS/course%20reg.html
Online Courses
This page says Name: Majdi City: Amman Gender: Male Price: 140
Name: Majdi
City: [Amman v] Gender: Male Female Courses: HTML CSS JavaScript I have a discount code Participate
course reg.html
+
+
c File/AAU/Courses/Intermet%20Applications%20Development/Examples/JS/course%20reg.html
Online Courses
This page says Name: Majdi City: Amman Gender: Male Price: 112
Name: Majdi City: Amman v
Gender: Male Female Courses: HTML CSS JavaScript I have a discount code 111 [Participate]