Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

The Accidental Data Scientist

Authors: Amy Affelt

1st Edition

1573877077, 9781573877077

More Books

Students also viewed these Databases questions

Question

Describe the even planning process and explain why it is helpful.

Answered: 1 week ago

Question

What is conservative approach ?

Answered: 1 week ago

Question

What are the basic financial decisions ?

Answered: 1 week ago

Question

LO5 Describe job analysis and the stages in the process.

Answered: 1 week ago