All this does is allows you to query each word being typed into a textarea against a list of words in an array. The CSS has not been tweaked or customised in any way, so styling will need to be perfected. The sections in red are all that were changed to get this working.