Question: 11.13 Write a script( HTML5) that inputs several lines of text and a search character and uses String method indexOf to determine the number of
11.13 Write a script( HTML5) that inputs several lines of text and a search character and uses String method indexOf to determine the number of occurrences of the character in the text.
11.14 Write a script based on the program in Exercise 11.13 that inputs several lines of text and uses String method indexOf to determine the total number of occurrences of each letter of the alphabet in the text. Uppercase and lowercase letters should be counted together. Store the totals for each letter in an array, and print the values in tabular format in an HTML5 textarea after the totals have been determined.
Step by Step Solution
There are 3 Steps involved in it
To address these exercises Ill provide stepbystep instructions to write two separate HTML5 scripts c... View full answer
Get step-by-step solutions from verified subject matter experts
