First of all, your script tags should be in the HTML and you need to include JQuery to make use of its functions.
Also you were modifying the text of .fall
which is an li element and doesn't contain any text. You have to target the <a>
tag inside it that contains the text you want to modify.
Here's the fiddle