Change Content

🧠 1. The Three Main Ways to Change Content Once you’ve selected an element, you can change its content using: PropertyPurposeExample OutputtextContentChange or read only text“Hello World”innerHTMLChange or read HTML inside<b>Hello</b>innerTextChange text but respects CSS visibility“Visible text only” 1️⃣ textContent Use when you just want to set or get plain text — not HTML.…

0 Comments

async/await

1. What is async/await? async/await is a modern way to handle asynchronous code in JavaScript. It’s built on Promises but makes code look synchronous, easier to read, and easier to maintain. async function: Declares a function as asynchronous. It always returns a Promise. await: Pauses the execution of an async function until the Promise…

0 Comments

Promise

1. What is a Promise? A Promise is an object that represents the eventual completion (or failure) of an asynchronous operation and its resulting value. States of a Promise: Pending – initial state, operation not finished yet. Fulfilled (Resolved) – operation finished successfully. Rejected – operation failed. Think of a Promise as a “promise…

0 Comments

ID Token in OpenID Connect

🔐 ID Token in OpenID Connect (OIDC) Definition:An ID Token is a JSON Web Token (JWT) issued by an Identity Provider (IdP) that proves the identity of a user to a client application. While OAuth 2.0 is primarily about authorization (access to resources), the ID Token is about authentication — confirming who the user…

0 Comments

OAuth 2.0 and OpenID Connect (OIDC)

🔐 OAuth 2.0 and OpenID Connect (OIDC) They’re closely related, but they serve different purposes: ProtocolPurposeSummaryOAuth 2.0AuthorizationLets an app access your data on another service without your passwordOpenID Connect (OIDC)Authentication (Login)Built on top of OAuth 2.0 — confirms who you are 🧩 OAuth 2.0 — Delegated Authorization 💡 Definition OAuth 2.0 is an open…

0 Comments

SAML (Security Assertion Markup Language)

🔐 What is SAML? Definition:SAML (Security Assertion Markup Language) is an open standard for Single Sign-On (SSO) that allows identity providers (IdPs) to securely pass authentication and authorization data to service providers (SPs). In simple terms: SAML lets users log in once and access multiple web applications using their organization’s credentials — without needing…

0 Comments

Identity and Access Management (IAM)

Definition:Identity and Access Management (IAM) is a framework of policies, processes, and technologies that ensures the right individuals (or machines) have the appropriate access to resources in an organization. Essentially, it controls who can access what, and under what conditions. IAM is crucial for security, compliance, and operational efficiency. Core Functions of IAM: Authentication:…

0 Comments

GraphQL

GraphQL is a query language and runtime for APIs, developed by Facebook (Meta) in 2012 and open-sourced in 2015.It provides a flexible and efficient way for clients to request exactly the data they need — nothing more, nothing less. 🧩 Key Idea In GraphQL, the client defines the structure of the response.Unlike REST, where…

0 Comments

HTTP status codes

Here’s a clear and concise list of the main HTTP status codes grouped by category, along with what they mean 👇 🟢 1xx – Informational These indicate that the request was received and understood, and the server is continuing the process. CodeMeaningDescription100ContinueThe client should continue with its request.101Switching ProtocolsServer is switching protocols as requested.102ProcessingThe…

0 Comments

Domain-Driven Design

DDD stands for Domain-Driven Design. It’s a way of designing software by focusing on the business domain — the real-world problem the software is trying to solve — rather than just the technology. 🔹 Domain The domain is the business problem space — what your software is about.It’s the core logic and rules that…

0 Comments

End of content

No more pages to load