For a book about web design, this surely is poorly designed. I can't resize the text with my built-in browser zoom to make it comfortable to read. Everything seems to be based on the size of the browser window.
the site isn't loading so I can't say for sure, but I'd guess the intention is something like fittext.js. which makes sense in some cases for large type inside of hero units etc, but even then you'll want sensible containers, and for body text, this is a terrible idea. em/rem are fine.