title: how to have a user-inputed string check against a list of words
body: <p>So, I'm trying to create a website in which a user of the website would input a string into a box and it would check the string against a list of words and phrases and if a word or phrase in the string matches a word in the list of words or phrases it would give a response. Is this possible to do through html or does it require JS using variables or something?</p>
  
  <p>Thanks in advance.</p>