Defer and Async attributes in JavaScript, they both are boolean attributes these attributes are used with script tags to load the external JavaScript file efficiently and smoothly into the webpages. Because today in modern websites the load time of JavaScript is longer than html files and their processing is also […]
JavaScript Browser Detection
You might have seen many websites detecting your browser and displaying the details of your browser on the web pages or checking the version of the browser to tell you to upgrade the browser or sometimes the websites might only run on a certain version or higher. A common example […]
How To Retrieve Data From Database in PHP Using MYSQL
Nowadays every websites is dynamic in nature. Websites has the capability to To retrieve data from database in PHP Using MYSQL from a remote server. It fetches the required data when needed from the server and serves the data to the user. Websites commonly use PHP to interact with the […]
Session Storage in JavaScript
What is sessionStorage? sessionStorage is an object for the current session much like the localStorage, sessionStorage can also store data in the memory of the browser, but this data cannot persist over multiple sessions, it gets deleted after a page session is ended. Whenever a document is loaded in a […]
Local storage in JavaScript
What is localStorage in javascript? The local storage is the storage location provided by the browser and that allows us to store key/value pairs in a web browser to use at a later stage of time. The localStorage object stores the data without any expiration date, i.e. data stored in […]
Reloading Webpage Data Using AJAX
What is AJAX? AJAX stands for asynchronous javascript and xml. It is a technique where we can request data from the server without reloading the entire page, it is not a programming language, it is a combination of different technologies listed below Language used in ajax Html Css Javascript Php […]
Regular Expressions – I
A regular expression (shortened as regex) is an extremely useful way of matching common patterns and texts such as emails, phone numbers, URLs etc. almost all programming languages have a regular expressions library. It is widely used in text editors also to find patterns and replace string patterns that we specify in the […]
JavaScript Map(), Reduce() array of objects
Functional programming techniques can help in making code easier to understand at a glance and read and test, Functional programming has been making quite a splash in the development world. Functional programming has its special lists of list operations they are exactly like array of things. The list items are […]
How to define and assign values to JavaScript arrays.
Array in JavaScript Arrays are variables that can store ordered collection of values in them which can be of different data types, with each having a numeric position known as an index. JavaScript follows a zero-based indexing scheme, meaning the index of the 1st element will start from 0, 2nd […]
How to enable JavaScript in my browser? – Chrome,Firefox,IE,Opera,Safari
How to enable JavaScript in different browsers? JavaScript should be enabled in the browser if a website has functionalities implemented in js. For example, HTML form validations, Advertisements, Popup menus, Button click events etc., Lets see how to enable JavaScript in these browsers: Chrome IE Firefox Opera Safari If JavaScript […]