Representation of Negative Binary Numbers 💡Most Significant Bit The leading 2 in the decimal number 231 is the most important digit or most significant digit. Compared to the other two digits, the leading 2 determines the greatest part of the number’s numerical value, as it represents the hundreds in the number. Take, for instance, the […]

Read More →

React Interview Questions & Answers 💡 What is the difference between PureComponent and component? React.PureComponent is similar to React.Component. The difference between them is that React.Component doesn’t implement, but React.PureComponent implements it with a shallow prop and state comparison. PureComponent will do a shallow comparison on both props and state when they changed while Component […]

Read More →

React JS Interview Questions & Answers 💡 What is a Hook in React? Hooks are a new addition to React 16.8. Hooks are functions that let you “hook into” React state and lifecycle features from function components. Hooks don’t work inside classes. React provides a few built-in Hooks like useState. You can also create your […]

Read More →

Angular Interview Questions & Answers 💡 What is ng-template in Angular? ng-template is a template element that is used with structural directives like *ngIf, *ngFor, [ngSwitch], and custom directives that we create. So what happens here, Actually Angular converts the above structural directive to the below ng-template code: 💡 How can we manually use *ngIf […]

Read More →

Why Angular is a Preferred Choice ✔️ Framework is written in TypeScript Having a built-in TypeScript, Angular provides robust tools to create the client-side of web applications. ✔️ Single-page applications (SPAs) It’s time for SPA (single-page applications) and Angular does its best in that.When we run a web application on a browser and do not […]

Read More →

React JS Stripe Payment Step 1: You need to create your account on stripe using your Email Id. Sign Up on Stripe Step 2: Activate your account by verifying your email address. You will get a verification link on your email account. Simply click here to activate your Stripe account. Step 3: Get API Key […]

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 →

Create Custom QR Code Component As per Wikipedia – https://en.wikipedia.org/wiki/QR_code A QR code (abbreviated from Quick Response code) is a type of matrix barcode (or two-dimensional barcode) first designed in 1994 for the automotive industry in Japan. A QR code consists of black squares arranged in a square grid on a white background, which can be read by an imaging […]

Read More →

How to create a common Helper class 💡 Create a folder named util inside the src folder. 📁src > > 📁util 💡 Let’s create two JS files named Helper.js and util.js. 📁src > > 📁util – 🟠Helper.js – 🟠util.js 💻 Helper.js This is a Class file that contains several commonly used methods with static type. […]

Read More →