{"size": 538, "ext": "js", "max_stars_repo_path": "cartzilla-dev-cs---cartzilla-dev-cs/web-pages/shop-single-v3/shop-single-v3.webpage.custom_javascript.js", "max_stars_repo_name": "Cloudstrucc/PowerApps-Cartzilla", "max_stars_repo_stars_event_min_datetime": "2021-12-26T04:22:06.000Z", "max_stars_repo_stars_event_max_datetime": "2021-12-30T18:49:14.000Z", "max_issues_repo_path": "cartzilla-dev-cs---cartzilla-dev-cs/web-pages/shop-single-v3/shop-single-v3.webpage.custom_javascript.js", "max_issues_repo_name": "Cloudstrucc/PowerApps-Cartzilla", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "cartzilla-dev-cs---cartzilla-dev-cs/web-pages/shop-single-v3/shop-single-v3.webpage.custom_javascript.js", "max_forks_repo_name": "Cloudstrucc/PowerApps-Cartzilla", "max_forks_repo_forks_event_min_datetime": "2021-12-29T15:32:34.000Z", "max_forks_repo_forks_event_max_datetime": "2022-02-21T17:45:39.000Z"}
{"max_stars_count": 5, "max_issues_count": null, "max_forks_count": 2, "avg_line_length": 20.6923076923, "max_line_length": 92, "alphanum_fraction": 0.6598513011}

var btn = document.getElementById("clickMe");

btn.addEventListener("click", alertMe);

function alertMe(){

alert("The button has been clicked");

}

const data = { name: 'Tom Snow' , ispricelocked : "false" };

async function makeorder() {
  const response = await fetch('https://cartzilla-dev-cs.crm3.dynamics.com/api/data/v9.0', {
    method: 'POST',
    body: JSON.stringify(data),

    headers: {
      'Content-Type': 'application/json'
    }
  });
  const myJson = await response.json();
  alert(myJson);
  console.log(myJson);
}