diff --git a/js/pis.js b/js/pis.js index 4486d7c..6c46e5c 100644 --- a/js/pis.js +++ b/js/pis.js @@ -26,7 +26,21 @@ async function displayData(json) { // Receives the JSON Respose ([{},{}]) containing one or more possible // PIS codes. Display the code and the stops with a method of scrolling between them. // Maybe as a table or a carousel? - log(`displayData: ${JSON.stringify(json)}`) + const div = document.getElementById('result-box') + const tableHtml = `
Code | +Stations | +
---|