Add the SeqSearch function to the arrays.js library file, then create a Web page named seq.html that

Question:

Add the SeqSearch function to the arrays.js library file, then create a Web page named seq.html that utilizes the SeqSearch function to perform sequential searches on user input. The page should contain a text area in which the user can enter a sequence of words separated by white space, as well as a text box in which the user can enter the word to be searched for. When the user clicks a button, SeqSearch should be called to search for the desired word in the sequence and display the result (either the index at which the word was found or else -1) in a separate text box?

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Question Posted: