Reading Spark Variables with Your Own HTML File

Waiting for data...

<script type="text/javascript">

  window.setInterval(function() {

    var deviceID = <redacted>;
    var accessToken = <redacted>;
    var varName = "voltaje";

    requestURL = "https://api.particle.io/v1/devices/" + deviceID + "/" + varName + "/?access_token=" + accessToken;
    $.getJSON(requestURL, function(json) {
             document.getElementById("v").innerHTML = json.result + "&deg; F";
             document.getElementById("v").style.fontSize = "28px";
             document.getElementById("vstand").innerHTML = json.coreInfo.last_heard;
             });
}, 10000);
</script>

this is ur code with my variables