Question: Help fixing my code I need help fixing my code, the prompt is my code is Help would be greatly appreciated. Write the JavaScript code

Help fixing my code

I need help fixing my code,

the prompt is

Help fixing my code I need help fixing my code, the prompt

my code is

is my code is Help would be greatly appreciated. Write the JavaScript

code to add behavior to a web page for manipulating strings. The

Help would be greatly appreciated.

Write the JavaScript code to add behavior to a web page for manipulating strings. The page UI allows the user to type a phrase into a text box. The user can click the Go!" button to display the words in that phrase in reverse order. Each word in the phrase should be inserted as a span with a dass ofword, inside a div with the id of words. (The word class gives the spans their appearance in the screen shots below giving them a border and a background and so on.) Every other word (the first, third fifth, etc.) should also be underlined. The user can optio nally specify a "filter" text by typing into a text box with the id of filter. If a non-blank filter is specified, you should exclude any words from the phrase that contain that filter text, case-insensitively. For example, if the filter text is "abc," exclude any words containing abc, ABC, aBc, etc If any words are exduded under the list ofwords you should modify the div with id of count to display text of the form, "5 word (s) filtered out." The code should work for multiple clicks of the button. On each click it should clear any previous information you injected. You may assume that words in the phrase are separated by single spaces. Do not use any JavaScript libraries such as jQuery or Prototype. Here is the relevant HTML code for the page: chi>Sentence Reverserl

Phrase:
Filter: cinput id-ilter" type-"text" ize-10" >
cbutton id-go">Gol

These screenshots show the initial state, and after phrases have been typed and "Go!" is clicked Sentence Reverser! Sentence Reverser! shoreethe eashels sellsshe Sentence Reverser! Sentence Reverser! Fawe h ARE shore the byshe

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!