JSFiddle - React, Tailwind, and code Playground

HTML

<html lang="en">
 <head>
   <meta charset="utf-8">
   <title>jQuery demo</title>
 </head>
 <body>
     <a href="#">jQuery</a>
     
      </body>
 </html>

JavaScript

$(document).ready(function(){
    $("a").click(function(event){
        $.ajax({
          url: "http://www.strava.com/api/v1/segments/637215",
          dataType: 'jsonp',
          success: function(data){
              console.log(data);
          }
    });            
  });
 });