Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

What you will do: - Create a web page with the heading CNIT 133 Homework 3 - Functions - The contents of this page should

image text in transcribed

image text in transcribed

image text in transcribed

image text in transcribed

What you will do: - Create a web page with the heading CNIT 133 Homework 3 - Functions - The contents of this page should be, besides the heading: - hyperlink to Part 1 web page with a short description about what will be presented - hyperlink to Part 2 web page with a short description about what will be presented - hyperlink to Part 3 web page with a short description about what will be presented - hyperlink to Extra credit (if you will develop it) with a short description about what will be presented - hyperlink to go back to the main page of the course (Homework 1) DO NOT USE ALERT BOX FOR ANY ERROR MESSAGES!! For Part 1: - Create a webpage that contains: - the heading Student Grades, - a form with input boxes for Homework Average, Mid-Term Exam Score, Final Exam Score, and Participation - all those grades will be entered as integers - you should have a button for submitting the data and a button to clear the form - you should have a textarea (or div or paragraph element) to present final results and/or error message - Create a script that: - checks for valid input, i.e., that the input is between 0-100 and that, of course, the input are all numbers. - If all input is valid then calculate and display the student's final average according to the formula: final average =(.5hwAvg)+(.2 midExam )+(.2 finalExam )+(.1 participation ) - in the output area, you will present the student's final average (rounded to an integer) and final letter grade using the following criteria: - If the student's final grade is 'D' or 'F' then display "Student must retake the course". - If the input of the user is invalid, you will present an error message and, of course, no result will be presented Note: The user should be able to reuse that same form for another student! The page will contain a script that includes at the top of your form a text box for the salesperson's name for the user to enter. When the user's mouse hovers over this name field, use the jQuery UI tooltip coding to display the message "Please make sure that the salesperson's name is spelled correctly". See this site for more about the jQuery UI tooltip . The user will input the quantity of items sold, for each item. You will use that input to calculate how much the salesperson sold and how much he/she will earn, and then output the results. TIP: Be sure to round the outputted results to 2 decimal places (money is not represented with more than 2 decimals, right?). Use input boxes to input the number sold for each of the items 1-4. You should also check for valid numeric input (make sure the number of items sold is never negative,

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

Step: 3

blur-text-image

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

Relational Database And SQL

Authors: Lucy Scott

3rd Edition

1087899699, 978-1087899695

More Books

Students also viewed these Databases questions

Question

How does Disney try to redress prejudice and discrimination?

Answered: 1 week ago

Question

=+ What would it look like? Who should deliver it?

Answered: 1 week ago