SendGrid API key does not work

Hi J.D.
I did not program myself. Just put the api key in the relevant position. To test whether the two examples already given work?
For Live demo


after i run this example i got the following , but I didn’t get the email.

For Example template

Can you check if these two program work ?