The script src points to a local host which might not work if you haven’t deployed anything. It’s better to have this deployed on a cloud service and import this from there