Posts

HTML Tutorial

Module 1: Introduction to HTML 1.1 : What is HTML? HTML stands for HyperText Markup Language. It is the standard language used to create web pages and web applications. HTML structures the content using tags (elements), such as <h1> , <p> , <img> , etc. It tells the browser how to display text, images, links, and other content. Example: <p>This is a paragraph in HTML.</p> 1.2 : History and Versions of HTML Developed by Tim Berners-Lee in 1991. Evolved from HTML 1.0 to HTML5. HTML5 is the latest version, supporting audio, video, canvas, and semantic elements. HTML Versions: HTML 1.0 – Basic structure HTML 4.01 – More features (1999) XHTML – Stricter rules HTML5 – Rich media and better structure (2014+) 1.3 : HTML vs. Other Web Technologies Technology Purpose HTML                Structure/content of page CSS            ...

Effective Social Media Management: Strategy, Engagement & Growth

In today’s digital world, social media is a powerful tool for building brand awareness, engaging with audiences, and driving business growth. A well-planned social media strategy helps businesses connect with their target audience, create meaningful interactions, and stay ahead of trends. This guide covers key aspects of social media management, including content creation, community engagement, campaign management, analytics, and brand consistency. Whether you're looking to enhance your online presence or optimize your current strategy, these essential steps will help you achieve your goals. 1. Content Strategy and Creation: Develop and execute a social media strategy aligned with business goals. Create engaging and relevant content (posts, graphics, videos) tailored to various platforms (Facebook, Instagram, LinkedIn, Twitter, etc.). 2. Community Engagement: Respond to comments, messages, and mentions in a timely and professional manner. Engage with followers to build a strong onl...

Java Script - Table of Content

 Table of Content 1. Introduction to JavaScript What is JavaScript? Evolution of JavaScript How JavaScript Works in Browsers Setting Up the Environment: Choosing a Code Editor (VS Code, Sublime, etc.) Running JavaScript in the Browser Console Setting Up Live Servers 2. JavaScript Fundamentals 2.1 Variables and Data Types Declaring Variables (var, let, const) Primitive Data Types (String, Number, Boolean, Null, Undefined, Symbol, BigInt) Type Conversion and Coercion 2.2 Operators Arithmetic Operators Logical and Comparison Operators Assignment Operators Conditional (Ternary) Operator 2.3 Control Flow Conditional Statements (if, else if, else, switch) Loops (for, while, do-while) Break and Continue 2.4 Functions Function Declaration and Invocation Parameters and Arguments Function Expressions and Arrow Functions Default Parameters 3. Working with the DOM 3.1 DOM Basics What is the DOM? Selecting Elements ( getElementById , querySelector , etc.) Modifyin...

My SQL - Complete Notes

Table of Content My SQL Summarized Constraints in MySQL

Step-by-Step Guide to Create a Subdomain

To create a subdomain for a domain hosted on GoDaddy or different account but managed under a different account without transferring the domain, follow these steps: Step-by-Step Guide to Create a Subdomain 1. Understand Your Setup Domain Registrar: The domain is managed in a different account (e.g., Godaddy, or another registrar). Hosting Provider: Your hosting is in your GoDaddy account. Objective: Create a subdomain (e.g., sub.example.com ) and point it to your hosting server. 2. Access the DNS Management of the Domain Login to the account where the domain is managed. Navigate to the DNS Management or DNS Zone Editor of the domain. 3. Add an 'A' or 'CNAME' Record for the Subdomain 'A' Record Method: Add a new 'A' record in the DNS settings. Set the subdomain (e.g., sub ) in the Name/Host field. Enter the IP Address of your GoDaddy hosting server in the Value field. Save the record. 'CNAME' Method: Add a CNAME record in the DNS se...

Constraints in MySQL

Constraints in MySQL are rules enforced on data in a database to ensure its accuracy, integrity, and consistency. They are applied at the table column or table level to restrict the type of data that can be stored. Constraints help prevent invalid data entry and maintain relational database integrity. Types of Constraints in MySQL 1. NOT NULL Constraint Ensures that a column cannot have a NULL value. Used to ensure that important fields always contain data. Syntax: CREATE TABLE students ( id INT NOT NULL, name VARCHAR(50) NOT NULL ); Example: If you try to insert a record with a NULL value in the name column, it will result in an error: INSERT INTO students (id, name) VALUES (1, NULL); -- This will throw an error 2. UNIQUE Constraint Ensures that all the values in a column are distinct (no duplicates allowed). Multiple UNIQUE constraints can be applied to a table. Syntax: CREATE TABLE employees ( emp_id INT UNIQUE, email VARCHAR(100) UNIQUE ); E...

Array In JavaScript

An Array in JavaScript is define as a data structure used to stored multiple value of different datatypes, means array in javascript can hold different datatypes in single variable. Indexing of Array Element starts from 0 (ZERO). 2 Different ways to create of Array In JavaScript: Creating Literal array: // Creating an Empty Array let arr = []; console.log(arr); // Creating an Array and Initializing with Values let arr= [10, "sahiba", 32]; console.log(arr); Create using new Keyword (Constructor):      // Creating and Initializing an array with values let arr = new Array(1, "sahiba", true); console.log(arr); Operations to perform on Array: Length of an array: let arr = [1, "sahiba", true]; console.log(arr.length); Get First Value of an array: let arr = [1, "sahiba", true]; console.log(arr[0]); Get Last Value of an array: let arr = [1, "sahiba", true]; console.log(arr[arr.length-1]); Print all values of an array: Using loop:  let arr = [1,...