> all I get is this ugly blue bar without any animation.
The HTML progress and meter elements don't have built-in animation, nor does that recipe include the CSS and JavaScript required to implement it. That is why you aren't seeing any animation.
The Getting Health and Stats to Change Dynamically question includes an answer about creating a progress bar that does have animation when it changes, although that code does require you to be using a later version of SugarCube 2.x than the one that comes pre-installed with the Twine v2.2.1 application.
It's all free, though the maker of SugarCube does accept donations and has a Patreon page.
You can download the latest version of SugarCube from here, and there are installation instructions here.
Enjoy! :-)