it works fine when I run it.
It's an HTML file so that might be a reason why it does not work for you.