JavaScript Throttle and Debounce Throttle In software development, particularly in the context of APIs or network requests, a throttle is a mechanism used to limit the rate at which requests or actions can be made.When you want an event to happen only once in an interval & only the first event is used. Understand Code […]

Read More →

JavaScript Custom Promise | Promise Polyfill 👉Let’s First Write JavaScript InBuilt Promise 💡Understand the Promise approach – Promise function takes one parameter and that is an executable function.– When we call this Promise with the new keyword, it returns a promise object.– Executable function is like a higher order function that takes two function arguments […]

Read More →

JavaScript Promisify What is Promisification? Promisification represents transformation. It’s the conversion of a callback-accepting function into a promise-returning function. What are Callbacks? A JavaScript callback is a function that is supposed to run after another function’s completion. These are the functions that are passed to another function as arguments that are invoked inside that main function […]

Read More →

JavaScript Promise and Callbacks 💡What is the meaning of asynchronous? “Asynchronous,” often known as “async,” simply means “takes some time” or “occurs in the future, not now.” 💡What are callbacks? There isn’t a special thing called a ‘callback’ in the JavaScript language, it’s just a convention.Instead of immediately returning some result like most functions, Callback-based […]

Read More →

Dependency Inversion Principle with Example | Dependency Inversion Solid Principle | Dependency inversion principle | Dependency inversion | Solid dependency inversion | Dependency inversion principle javascript Please refer above blog post to Understand SOLID principles in JavaScript. In this post, we will learn the Last Solid principle of Dependency Inversion with an Example in Javascript. […]

Read More →

Object-Oriented Programming | Basic concepts of Oops | Oops concepts | Object-Oriented Programming | Solid principles interview questions | Solid principles of Oops | Solid principles javascript | Solid principles in Design Patterns | javascript oops | Liskov substitution principle example | Dependency inversion principle example | Interface segregation principle example | single responsibility principle […]

Read More →

ASCII Code of Characters | ASCII Code | ASCII Code of a to z | ASCII Code Table | Binary to ASCII Code | What is ASCII Code? | ASCII Code of 0 to 9 What is ASCII? 💡ASCII is a common data encoding type used for computer-to-computer electronic communication.ASCII assigns standard numeric values to […]

Read More →

Factors of a number 💡 What are the Factors of any number? Factors of any number (n) will be those numbers that exactly divide it and give a remainder as 0. This means that the two whole numbers whose product is given number (n) are the factors of that number. 💡 What are the Prime […]

Read More →

Fibonacci series using recursion | Fibonacci series | Fibonacci series in javascript | Fibonacci series in javascript using recursion | Fibonacci series in javascript using while loop | program fibonacci series | program for Fibonacci series in javascript | Fibonacci series in JavaScript ES6 | fibonacci series using generator The Fibonacci Sequence is the series […]

Read More →

javascript coding interview question | javascript coding interview | javascript coding challenges | javascript coding practice | javascript coding examples | javascript practice exercises | coding questions in javascript | console programs javascript | javascript interview questions 💡What is the output of the below program? 💡 What is the output of the below program? Explanation […]

Read More →

Time Complexity & Calculations Time complexity measures the time taken to run each statement of code in an algorithm. Space and Time complexity can define the effectiveness of an algorithm. 💡 Time complexity depends on the number of inputs passed to that algorithm. And, there is a relation between the input data size (n) and […]

Read More →

Top 30 JavaScript Interview Questions ✋ What are the features of ES6? Classes Modules Default Parameters > function(height = 50, color = ‘red’) { } Template Literals > Your name is ${first} ${last}. Multi-line Strings >By using backticks. Destructuring Assignment Arrow Functions Promises > ES6 introduced Promises, is a First class representation of a value […]

Read More →

Create Year Month & Date dropdown List 💡 First, add Font-Awesome style 💡 Let’s add JQuery 💡 Let’s Create UI part of Year, Month, and Date Dropdown. 💡 Let’s put some styles here 💡 Get Fields References using JQuery 💡 Get Values of input fields using JQuery 💡 Now add window.onload method We have placed […]

Read More →

Web Application Security Best Practices Is Web development only writing codes that work and run successfully? Not true. It is also about writing code that is secure and safe from vulnerabilities.A number of common vulnerabilities are coming in web applications. Some of those are because of bad coding practices, irregularities in patching updates, misconfiguration of […]

Read More →

HTML Form with Pure CSS Create a Div in the middle of the screen with box-shadow Materialize Input field with CSS Custom Checkbox and Radio button with Pure CSS Custom Checkbox CSS Step by Step Custom Radio button CSS step by step Materialize type Button with Pure CSS *****Complete Code********* Complete Code –https://stackblitz.com/edit/html-form-with-pure-css-javascript?file=index.html HTML advance […]

Read More →

JavaScript Rotate 2D matrix at 90 deg clockwise without creating another array 💡 2 Dimensional matrix array is n * n matrix that is created by using rows and columns. Mostly we represent row with i and column with j. So in case, we have to pick an element from the matrix we use 2D […]

Read More →

HashTable Data Structure in JavaScript ✋ What is Hash Table? In this blog, I am going to explain Hash Tables, which are also known as Hash Maps, Maps, or Dictionaries. A hash table is an associative array data structure that maps keys to values & it is capable to store a large amount of data […]

Read More →

Top JavaScript Algorithms ✋ Binary Search Algorithm Binary search is a faster and more efficient search to find an element in a given sorted Array. Linear search checks every array index element while a given element does not found. If we have an array of 1 to 16 Like [1,2,3…,16].So to search number 15, for […]

Read More →

Angular HTTP Request Testing HttpClient is introduced in Angular 6 and it will help us fetch external data, post to it, etc. We need to import the http module to make use of the http service. To start using the http service, we need to import the module in app.module.ts as shown below − HttpClientTestingModule  is used […]

Read More →