API Data
Nothing Yet
<!-- -->var number =document.querySelector('input').value;console.log(number); //event.preventDefault();var number = document.getElementById('number');// Making a XMLHttpRequest COUP9306 function loadAPI() { var xhttp = new XMLHttpRequest(); xhttp.open("GET", "https://ecom.vamaship.com/track?tracking_id_type=reference_numbers&tracking_ids%5B0%5D=COUP9306" , false); xhttp.addEventListener("load", loadData); xhttp.send(); }// Displaying the data function loadData() { document.getElementById('api').innerText = this.responseText; }