Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

A external JavaScript required. This is javaScript A bug collector collects bugs for 7 days. The program asks the user how many bugs they have

A external JavaScript required. This is javaScript

A bug collector collects bugs for 7 days. The program asks the user how many bugs they have collected on each of the seven days (using a prompt)

a. These values should be added into a running total of bugs collected

b. The tallying of the bugs should be performed with a loop

c. At the end, show the total number of bugs collected to the user in a GUI output

Rubric:

1. Appropriate loop structure used.

a. Depending on the selected program, some will require for-next, while others will require while loops

2. Correct Loop Termination

a. Loop Ends when it should, and does not have an off by one error

b. Is not an endless loop

3. Logic of mathematical process is correct

a. i.e. each iteration changes the correct variables and/or performs the correct calculation

4. Appropriate feedback to user with concatenation

a. Use of a GUI element

5. Check for invalid values that might crash the loop

6. CSS/HTML designed site with title, header, paragraph describing the script and background color

Atleat 3 files required for this project js file, html file and css file

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

Oracle Databases On The Web Learn To Create Web Pages That Interface With Database Engines

Authors: Robert Papaj, Donald Burleson

11th Edition

1576100995, 978-1576100998

More Books

Students also viewed these Databases questions

Question

What is franchising?

Answered: 1 week ago