CS202 Assignment 3 Solution 3 Fall 2022 - 2021
Question :
Problem Statement:
Suppose Saudi Arabia’s President
Muhammad bin Salman gives a 200,000-person quota for Hajj to the Islamic
Republic of Pakistan. Hajj will be allowed only for those persons who are fully
vaccinated and got a booster shot. NCOC (National Command and Operation Centre)
decided to develop a website to count the number of peoples who applied for
Hajj and got booster shots respectively.
Suppose NCOC hired you to develop
a website to maintain the record of those hajj nominees who have been injected
with the booster shot.
The primary requirement is to show
and update the count of nominees been injected with a booster dose.
So, when every new nominee comes
to the center and is injected with a booster shot, you need to show the message
and update the total count on the site without refreshing the page, so that
concerned authorities can take a look at the current status of the nominees
with a booster shot.
You will add the counter button
with the functionality ‘on click’ of incrementing the number of nominees by 1.
Note: Suppose 18000 Nominees have
already been injected with a booster shot, so you will start counting after it.
Sample output before adding any nominee record:
Record of each new nominee will append in new line with the message and count like shown in the following screenshot:
.Requirements and Solution Instructions:
·
Make a simple web-page as given
in sample.
Assignment Solution:
How to save File and Use :
- Fist Copy the Upper Code from <html> to </html>
- Then paste it to Any text editor wich you use like; notepad;-
- Click Save or Save as , name the file with .html extension like: cs202.html
- And check the extra code or links care fully and then use it
Instructions:
Please read the
following instructions carefully before submitting assignment. It should be clear that your assignment will not get any
credit if:
§ The assignment is submitted after due date.
§ The submitted assignment does not open or file is corrupt.
§ Assignment is copied
(partial or full) from any source (websites, forums, students, etc)
Note:
You have to upload .html file which
contain required code. In case you are unable to upload .html file, then
please upload .zip or .rar file. Assignment in any other format (extension)
will not be accepted and will be awarded with zero marks.
Instructions:
Please read the
following instructions carefully before submitting assignment. It should be clear that your assignment will not get any
credit if:
§ The assignment is submitted after due date.
§ The submitted assignment does not open or file is corrupt.
§ Assignment is copied
(partial or full) from any source (websites, forums, students, etc)
Note:
You have to upload .html file which
contain required code. In case you are unable to upload .html file, then
please upload .zip or .rar file. Assignment in any other format (extension)
will not be accepted and will be awarded with zero marks.