You should call the function after you define it.
You can call or invoke this function by using its name followed by parentheses, like this: functionName();
Sorry, the formatting didn’t properly display on your post. Can you copy your current code, and paste it here in a reply? When pasting your code, wrap it in three backticks like this: