Why is this in the docs if it doesnt work?

Pasting a screenshot makes it impossible for us to copy and paste and test your code.

Please paste a clone link or the code itself. Here are a few tips for how to ask a question that will get an answer: How to ask a good question