You are on page 1of 6

Assignment No.

03 Total Marks:
Semester Spring 2019
Due Date: 18/
IT430: E-Commerce

Objective

The objective of this assignment is:

o To understand the basics of html tags


o To understand how to use interactive forms
o To understand how to use JavaScript during validations / checks on different fields

For any query about the assignment, contact at it430@vu.edu.pk

Instructions

Please read the following instructions carefully before solving & submitting assignment:

It should be clear that your assignment will not get any credit (zero marks) if:

o The assignment is submitted after due date.


o The assignment is submitted after due date via email (whether it is the case of load
shedding or internet malfunctioning etc.).
o The submitted assignment is other than .html or .htm.
o The submitted assignment does NOT open or file is corrupted.
o The assignment is copied (from other student or ditto copy from handouts or internet).

Uploading instructions

o For clarity and simplicity, you are required to Upload/Submit only .html or .htm
file.
Assignment Tasks

You are required to design web page as per the following screenshot (using HTML, CSS and
JavaScript).
Following steps shows the working of web page.
Step 1: Enter value in each text box.

Step 2: Enter First Number and Enter Second Number


Step 3: Select any operator from Dropdown List. (+ , - , * , / , %)

Step 4: If you select “+” from Dropdown List, a dynamic message should be shown like
“Answer: 10+10 =20”.
Step 5: If no any operator selected from Dropdown List, an alert message should be shown like
“you must have to select any arithmetic operator”.

Note:
1. You are required to develop a web page using HTML and JavaScript as per above
Images.
2. Design your assignment as per above Images.(Assignment with different design will
be marked zero)
3. To answer should be displayed on changes of dropdown list.
4. Do not use any button to display answer on web page.
GOOD LUCK

You might also like