Skip to main content

Posts

Showing posts with the label JavaScript

Featured Post

Salesforce Agentforce Specialist Certification: What It Takes in 2026

 With Agentforce now central to Salesforce's roadmap, demand for people who can actually configure, ground, and govern AI agents has spiked — and Salesforce's certification track has changed to match. If you're weighing whether to get certified in 2026, here's what the credential actually covers and whether it's worth your time. The Certification Landscape Changed in 2026 Salesforce retired the older AI Associate and AI Specialist certifications in early 2026. The current credential is the Salesforce Certified Agentforce Specialist (exam code AI-201 ) — a single, more practical exam replacing the older, more theory-focused ones. What the Exam Actually Tests Rather than abstract AI theory, the Agentforce Specialist exam focuses on real configuration and governance skills: Designing AI workflows using prompts, actions, data, and automation. Grounding agents with relevant, trustworthy data. Building and customizing agents for specific business needs. I...

Top JavaScript Interview Questions & Answers

 JavaScript is one of the most in-demand programming languages, and mastering it is crucial for web development roles. Whether you are preparing for a junior, mid-level, or senior JavaScript interview, these commonly asked questions and answers will help you ace it. 1. What are the different data types in JavaScript? Answer: JavaScript has the following primitive data types: String – Represents textual data (e.g., 'Hello' ) Number – Represents numeric values (e.g., 42 , 3.14 ) BigInt – Represents large integers (e.g., BigInt(9007199254740991) ) Boolean – Represents true or false Undefined – Represents an uninitialized variable Null – Represents an empty or unknown value Symbol – Represents unique identifiers Additionally, JavaScript has objects , which include arrays, functions, and other complex structures. 2. What is the difference between == and === in JavaScript? Answer: == (loose equality) checks for value equality but allows type coercion. console.log(5 == ...

Javascript basics in 20 min

  1. Variables var , let , and const are used to declare variables. var x = 5 ; // Function-scoped (old way, use with caution) let y = 10 ; // Block-scoped (preferable) const z = 15 ; // Block-scoped, cannot be reassigned const is used when you know the value won’t change. 2. Data Types Primitive Types : string , number , boolean , null , undefined , symbol , bigint let name = "John" ; // String let age = 25 ; // Number let isActive = true ; // Boolean let data = null ; // Null let notAssigned; // Undefined Reference Types : Objects, Arrays, Functions. let person = { name : "John" , age : 25 }; // Object let numbers = [ 1 , 2 , 3 ]; // Array 3. Functions Functions can be declared and invoked: function greet ( name ) { return "Hello, " + name; } console . log ( greet ( "Alice" )); Arrow Functions (ES6): const greet = ( name ) => "Hello, " + name; console . log ( greet ( "Bob" )); 4. Control...

Javascript

How to draw animated circles in HTML5 canvas

Step 1 - Draw Circle Step 2 - Draw multiple circles Step 3 - Animate one circle Step 4 - Animate multiple circles Step 5 - Add colors to Animated Circles detail post here You can draw animated circles in an HTML5 canvas using JavaScript by leveraging the requestAnimationFrame function. Below is a step-by-step guide to animating circles using the Canvas API . Step 1: Create an HTML5 Canvas First, create an HTML file with a <canvas> element: <!DOCTYPE html > < html lang = "en" > < head > < meta charset = "UTF-8" > < meta name = "viewport" content = "width=device-width, initial-scale=1.0" > < title > Animated Circles </ title > < style > body { display : flex; justify-content : center; align-items : center; height : 100vh ; margin : 0 ; background-color : black; ...