This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let app = document.documentElement; // the whole document object | |
let container = document.getElementById("res"); | |
// onload function that is fired when the document loads | |
const onload = () => { | |
getData(); | |
}; | |
// fucntion to get remote data in (backend integration) | |
const getData = () => { |