Implementing Fittext to allow text to fill a div

Hi everyone,
I am attempting to use FitText to create responsive headlines that fill the width of their container. Has anyone successfully implemented or could offer some advice of how to? Any help would be greatly appreciated.

The Resource:

Hey! Were you able to figure this out? I’m looking to do the same thing.