Question: Due: Please check the instructional plan. Important Notes: This is an individual assignment. You must complete it on your own. I will be checking for

Due: Please check the instructional plan.
Important Notes:
This is an individual assignment. You must complete it on your own.
I will be checking for borrowed or copied assignments. All work is to be done from scratch, you may not use any templates or other assistances.
This assessment is out of 10 marks total.
Background:
The purpose of this assignment is to provide you hands-on experience responding to JavaScript events.
Tasks:
Create a web page that demonstrates the click event and use of variables. For this assessment, you will need to implement Addition and Modulus operations. Remember to cite the sources (if any) properly.
1. HTML Static Content (1 mark)
Create a web page that has 2 buttons, one for Addition and one for Modulus.
2. JavaScript Event - Click (1 mark)
When the user clicks on one of the two buttons, ask for 2 inputs (Number one and Number two).
3. JavaScript - Display Result (4 marks)
Perform Addition or Modulus based on the choice of the user and display the result in the following format (assuming user inputs 21 and 10):
21+10=31
Or
21%10=1
4. HTML Static Content - Instructions (1 mark)
Be sure to explain to the user what your web application is supposed to do. Include details on how to use the application.
5. Programming Style and Standards (3 marks)
It is a good idea to practice conforming to a set of programming standards. Refer to the posted summary of the Programming Standards used by the CP/CPA programs.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!