Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Write a script that should produce some statistical information on user entered input data. The javascript code should be in an external file called statistics.js,

image text in transcribed

Write a script that should produce some statistical information on user entered input data. The javascript code should be in an external file called "statistics.js", an HTML file named textStats.html" should be created which will contain only a div element with id "statsOut". Javascript should ask user to enter textual data until he/she enters You should check for numeric data and ignore that data. Final statistic should be displayed in the div tag of the HTML file A) You have to use the external CSS file called "stats.CSS" to set border, font, margin, etc. for the div tag B) The JavaScript file (statistics.js) should keep prompting the user for input until he/she enters "(space). Numerical values and empty input should be handled gracefully and should be ignored. The script should print number of vowels present in the input text entered by the user C) If a user enters 10 consecutive entries without entering a string, the script should print "You have exceeded invalid entry limit

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

SQL Database Programming

Authors: Chris Fehily

1st Edition

1937842312, 978-1937842314

Students also viewed these Databases questions

Question

Brief the importance of span of control and its concepts.

Answered: 1 week ago

Question

What is meant by decentralisation?

Answered: 1 week ago

Question

Write down the Limitation of Beer - Lamberts law?

Answered: 1 week ago

Question

What is the Definition for Third Normal Form?

Answered: 1 week ago

Question

Provide two examples of a One-To-Many relationship.

Answered: 1 week ago