Question: Mod 2 Assignment Being able to search using JavaScript is an important feature to know how to do. For this assignment, you will create an
Mod 2 Assignment
Being able to search using JavaScript is an important feature to know how to do.
For this assignment, you will create an HTML file that allows you to enter text in a
form text area and a character in a text box. Additionally, add a button when
pushed will return the number of times the character is found in the passage.
Print the character and number of times it appears out to the web page. Also, if
it is not in the text print that out too.
The script should be written as a separate JavaScript file and uses the String
method indexOf. The HTML file should be linked to the stylesheet created in
module one as well as the JavaScript file.

Enter some text: Now is the time for all good men and women to come to the aid of their country Enter a character to search for: Search Results: o was found 9 time(s). ek
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
