JSFiddle - React, Tailwind, and code Playground

HTML

<div id="status"></div>

JavaScript

var status = document.getElementById('status')
var xhr = new XMLHttpRequest()
xhr.open('GET', 'https://eqbeats.org/track/7871/json', true)
xhr.onload = function () {
    var track
    try {
        track = JSON.parse(xhr.response)
        status.textContent = 'JSON parsed successfully!'
    } catch (err) {
    	status.textContent = 'JSON parse error: '+err
    }
}
xhr.onerror = function (err) {
	status.textContent = "Error: "+err
}
xhr.send()