Array Pattern: One At A Time

Finding Something In An Array

DIRECTIONS:

The code should set up a 'click event handler' using jQuery. Within the event handler, the program should create an array, get the user's input, then search through the array for the user's input. If the user's input is found then a message should be displayed on the page, telling the user that the value was found. If the input is not found then display a different message, telling the user that whatever they typed was not found

Do this by draggng & dropping lines from the left to the right. You'll need to change the order of the lines and you'll need to adjust the indentation correctly. Check your work by clicking on the button labeled "Get Feedback" at the bottom of this page.