lokprakash baburookiecoderlok.hashnode.dev·Oct 29, 2023Track the visibility of a page using JavascriptIntroduction Ever wondered how platforms such as Netflix play a short clip of a movie when we are in the tab and stop playing it when we switch the tab? There are two ways to achieve the functionality 1) Using onblur and onfocus 2) Using page visibil...39 readsFrontend Development
Pushpa Malipushpamali.hashnode.dev·May 1, 2023Scripting Success: Finding the Perfect Spot for Your JavaScript Code in HTMLJavaScript is a powerful tool that allows you to add interactivity and dynamic content to your web pages. But if you're new to coding, you might be wondering where to include your JavaScript code in your HTML file for optimal performance and function...1 like·192 readsJavaScript