'Access-Control-Allow-Origin'and how it is related to CORS2 min read·sudiptasaha.hashnode.devApr 28, 2024
Prefetch, Preload and PreconnectResource hints, as the name suggests, are attributes in HTML that provide the browser with suggestions about how to handle or prioritise the loading of external resources such as scripts, stylesheets, fonts, images, and more to help browsers load web...2 min read·sudiptasaha.hashnode.devApr 10, 2024
DOMContentLoaded EventDOMContentLoaded is an event that is fired when the initial HTML document has been completely loaded and parsed, without waiting for stylesheets, images, and subframes to finish loading. This means that at the time DOMContentLoaded fires, the DOM tre...2 min read·sudiptasaha.hashnode.devApr 6, 2024
Introduction to Javascript's Factory Function"A factory function is a function which returns an object". Yes, it's a function that returns an object. It's that simple. Let's dive in... Below is the code snippet const sudi = { name: 'Sudi', details(){ console.log(`Hello, I am ${this.na...2 min read·sudiptasaha.hashnode.devMay 24, 2023