Data not displaying with .text() jQuery to protect against XSS

I am displaying data from and API using Ajax call, this code works fine but is prone to XSS.

Contact Details

Web: tutorialguruji.com
For Advertisement - Contact Us Today.

What You Want To Learn?