JavaScript is one of the most popular and powerful programming languages. It is mainly used to make websites interactive, dynamic, and user-friendly. With JavaScript, we can control webpage behavior—such as responding to button clicks, validating forms, updating content without reloading the page, and building full web applications. JavaScript is not limited to browsers only; it is also used for backend development (Node.js), mobile apps, desktop apps, game development & even software automation testing. This cheat sheet is designed for absolute beginners, covering all essential JavaScript concepts with simple explanations and easy-to-understand syntax. Basic Syntax Printing Output: Comments: Variables (let, const, var) Modern JavaScript → UseRead More →

To check git version command: Git Configuration To check existing user & user email: To change existing configuration: Initialize or Clone Repository To start a new project: To check changes/modification inside a repository: Clone an existing Github repository: Clone a specific branch: To see previous commit: Stage Files (Prepare for Commit) Track a single file: Track all changes: Undo staging: Remove a tracked file: Commit Commands Add + commit tracked files: To fix Fix last commit message Branching Examples Make a new feature branch: Switch to it: Or old method: Create + switch: Delete branch: Force delete: Merge & Rebase Merge “develop” branch into currentRead More →

Basic Syntax Title Python Dart entry point top-level statements void main() indentation significant (spaces) curly braces {} statement end newline semicolon optional (but usually added) type system dynamic (PEP 526 annotations optional) static + inference + null-safety constants convention: UPPER_CASE final (run-time once) or const (compile-time) Basic Code in Python Basic Code in Dart Print Function Feature Python Dart plain text print(“hi”) print(‘hi’); several items print(“Name:”, name, “Age:”, age) print(‘Name: $name Age: $age’); string interpolation f”My score is {s}” ‘My score is $s’ multi-line “””line1\nline2″”” ”’line1\nline2”’; raw (no escapes) r”C:\path” r’C:\path’; VariablesRead More →

Basic Syntax main() function Dart program starts from main(): Statements in dart end with semicolon Comments Example Variables And Data Types late keyword Late Keyword tells Dart you’ll assign the value later. const vs final Null Variable In Dart, to introduce a null value, a variable must be explicitly declared as nullable. This is achieved by appending a question mark (?) after the variable’s type. Strings Basic String Example: Multiline String Example: Interpolation String Example: Some Useful methods for strings If/Else Condition Use if when you want to run code only if a condition is true. Syntax: Example: Ternary Operator (Short If) Used when you need a quickRead More →