[Solved] How to start debugging jQuery if there seems to be no error?


Your code doesn’t appear to be included on site 2 so it is never run. On site 1 I can see the scripts that initiate the toggling…

First is the word array builder which is found in the <head> tag.
enter image description here

Second is the toggle function and initiator.
enter image description here

Both of which do not appear to be included in site 2.


UPDATE

As mentioned in the comments, your script is actually included however, your paragraph contains none of the words in your array.

This is your paragraph:
enter image description here

And this is your words array:
enter image description here

Your script is searching the above paragraph for: vocabulary, lexicon and lexicons all of which are not in the content.

4

solved How to start debugging jQuery if there seems to be no error?