Skip to content

Instantly share code, notes, and snippets.

View RajSolai's full-sized avatar
:atom:
pushing

Solai Raj RajSolai

:atom:
pushing
View GitHub Profile
@RajSolai
RajSolai / app.js
Created March 26, 2020 09:08
Simple Dynamic fetch from API using Vanilla JS
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 = () => {