To see javascript src code, go to Web Developer Tools > Debugger > Look for catButtonScript.js
Cat facts from https://catfact.ninja/#/Facts/getRandomFact