It looks like you didn’t add jquery to your pen.
once thats done it looks like theres a typo xhr request that pops up in the console. I think it should be “xhr.setRequestHeader” . Beyond that I dont know enough about xhr headers to help.
hope you can figure the rest out,