<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Swapnil Meshram</title>
    <description>The latest articles on DEV Community by Swapnil Meshram (@swapnilmeshram).</description>
    <link>https://dev.to/swapnilmeshram</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3246956%2F8dae32eb-fe0b-4ab1-96e8-052901779b40.jpg</url>
      <title>DEV Community: Swapnil Meshram</title>
      <link>https://dev.to/swapnilmeshram</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/swapnilmeshram"/>
    <language>en</language>
    <item>
      <title>📘 JavaScript for Beginners (Basics)</title>
      <dc:creator>Swapnil Meshram</dc:creator>
      <pubDate>Fri, 27 Jun 2025 14:28:02 +0000</pubDate>
      <link>https://dev.to/swapnilmeshram/javascript-for-beginners-basics-3f8h</link>
      <guid>https://dev.to/swapnilmeshram/javascript-for-beginners-basics-3f8h</guid>
      <description>&lt;p&gt;Presented by Swapnil Meshram within mentorship &lt;a class="mentioned-user" href="https://dev.to/devsyncin"&gt;@devsyncin&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;🎓 Started learning JavaScript with the guidance of &lt;a class="mentioned-user" href="https://dev.to/devsyncin"&gt;@devsyncin&lt;/a&gt; with focused on basics concepts such as javascript variables, loops, with simple hands-on practice.&lt;/p&gt;

&lt;p&gt;📌 1. What is JavaScript?&lt;/p&gt;

&lt;p&gt;JavaScript is a high-level, interpreted programming language used to create dynamic and interactive effects on websites.&lt;/p&gt;

&lt;p&gt;🔹 Runs in the browser&lt;br&gt;
🔹 Client-side scripting (can also be used on the server with Node.js)&lt;br&gt;
🔹 Lightweight and versatile&lt;/p&gt;

&lt;p&gt;📌 2. How to Add JavaScript&lt;/p&gt;

&lt;p&gt;You can include JavaScript in three main ways:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;
&amp;lt;!-- Inline JavaScript --&amp;gt;

&amp;lt;button onclick="alert('Hello!')"&amp;gt;Click Me&amp;lt;/button&amp;gt;

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;





&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;
&amp;lt;!-- Internal JavaScript --&amp;gt;

&amp;lt;script&amp;gt;
  alert("Hello from internal JS!");
&amp;lt;/script&amp;gt;

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;





&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;
&amp;lt;!-- External JavaScript --&amp;gt;

&amp;lt;script src="script.js"&amp;gt;&amp;lt;/script&amp;gt;

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;📌 3. Variables&lt;/p&gt;

&lt;p&gt;Variables are containers for storing data.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;
var name = "John";      // old way
let age = 25;           // modern way
const country = "India"; // constant value

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;📌 4. Data Types&lt;/p&gt;

&lt;p&gt;JavaScript supports different data types:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;
String → "Hello"

Number → 123, 3.14

Boolean → true or false

Object → { key: value }

Array → [1, 2, 3]

Null → null

Undefined → undefined

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;📌 5. Operators&lt;/p&gt;

&lt;p&gt;Some basic operators:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;
+   // addition
-   // subtraction
*   // multiplication
/   // division
%   // modulus
==  // equal value
=== // equal value and type
!=  // not equal
&amp;gt;   // greater than
&amp;lt;   // less than

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;📌 6. Conditional Statements&lt;/p&gt;

&lt;p&gt;Used to perform different actions based on conditions.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;
let score = 90;

if (score &amp;gt;= 90) {
  console.log("Excellent");
} else if (score &amp;gt;= 70) {
  console.log("Good");
} else {
  console.log("Try again");
}

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;📌 7. Loops&lt;/p&gt;

&lt;p&gt;Loops run a block of code multiple times.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;
// for loop

for (let i = 0; i &amp;lt; 5; i++) {
  console.log(i);
}

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;





&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;
// while loop

let i = 0;
while (i &amp;lt; 5) {
  console.log(i);
  i++;

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;✅ Summary&lt;/p&gt;

&lt;p&gt;JavaScript allows you to:&lt;/p&gt;

&lt;p&gt;Add interactivity (buttons, sliders)&lt;/p&gt;

&lt;p&gt;Handle user input and events&lt;/p&gt;

&lt;p&gt;Modify the webpage dynamically&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>javascript</category>
      <category>devsync</category>
    </item>
    <item>
      <title>Bootstrap</title>
      <dc:creator>Swapnil Meshram</dc:creator>
      <pubDate>Sat, 14 Jun 2025 15:52:49 +0000</pubDate>
      <link>https://dev.to/swapnilmeshram/basic-bootstrap-582h</link>
      <guid>https://dev.to/swapnilmeshram/basic-bootstrap-582h</guid>
      <description>&lt;p&gt;Presented by Swapnil Meshram within mentorship within &lt;a class="mentioned-user" href="https://dev.to/devsyncin"&gt;@devsyncin&lt;/a&gt; &lt;/p&gt;

&lt;p&gt;📌 Introduction&lt;/p&gt;

&lt;p&gt;📝 Bootstrap is a powerful, open-source CSS framework developed by Twitter to create responsive, mobile-first websites quickly. When paired with HTML, it simplifies the design process by offering pre-designed components and utility classes.&lt;/p&gt;

&lt;p&gt;📖 What is Bootstrap?&lt;/p&gt;

&lt;p&gt;🧠 Bootstrap is a front-end framework that includes:&lt;/p&gt;

&lt;p&gt;📦 Predefined CSS classes&lt;/p&gt;

&lt;p&gt;🎛 Responsive grid system&lt;/p&gt;

&lt;p&gt;🎨 UI components (buttons, cards, modals, etc.)&lt;/p&gt;

&lt;p&gt;📲 Mobile-first design philosophy&lt;/p&gt;

&lt;p&gt;💡 Bootstrap works best with basic knowledge of HTML and CSS.&lt;/p&gt;

&lt;p&gt;🔸 Method 1: CDN (Recommended for Beginners)&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;
&amp;lt;link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css" rel="stylesheet"&amp;gt;

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;





&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;
&amp;lt;script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/js/bootstrap.bundle.min.js"&amp;gt;&amp;lt;/script&amp;gt;

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;🔸 Method 2: Download and Host Locally&lt;/p&gt;

&lt;p&gt;🧰 Download Bootstrap files from:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://getbootstrap.com" rel="noopener noreferrer"&gt;getbootstrap&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Then link them in the project directory.&lt;/p&gt;

&lt;p&gt;🏗 Basic HTML Structure with Bootstrap&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;
&amp;lt;!DOCTYPE html&amp;gt;
&amp;lt;html lang="en"&amp;gt;
&amp;lt;head&amp;gt;
  &amp;lt;meta charset="UTF-8"&amp;gt;
  &amp;lt;title&amp;gt;Bootstrap Page&amp;lt;/title&amp;gt;
  &amp;lt;link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css" rel="stylesheet"&amp;gt;
&amp;lt;/head&amp;gt;
&amp;lt;body&amp;gt;
  &amp;lt;div class="container"&amp;gt;
    &amp;lt;h1 class="text-center text-primary"&amp;gt;Welcome to Bootstrap&amp;lt;/h1&amp;gt;
  &amp;lt;/div&amp;gt;
&amp;lt;/body&amp;gt;
&amp;lt;/html&amp;gt;

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;📦 Bootstrap Grid System&lt;/p&gt;

&lt;p&gt;📖 12-column grid for responsive layout&lt;/p&gt;

&lt;p&gt;💡 Use classes like container, row, and col.&lt;/p&gt;

&lt;p&gt;💻 Example:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;
&amp;lt;div class="container"&amp;gt;
  &amp;lt;div class="row"&amp;gt;
    &amp;lt;div class="col-md-4"&amp;gt;Column 1&amp;lt;/div&amp;gt;
    &amp;lt;div class="col-md-4"&amp;gt;Column 2&amp;lt;/div&amp;gt;
    &amp;lt;div class="col-md-4"&amp;gt;Column 3&amp;lt;/div&amp;gt;
  &amp;lt;/div&amp;gt;
&amp;lt;/div&amp;gt;


&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;🧪 Try resizing the window to see the responsive behaviour.&lt;/p&gt;

&lt;p&gt;🧩 Common Bootstrap Components&lt;/p&gt;

&lt;p&gt;🔘 Buttons&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;
&amp;lt;button class="btn btn-primary"&amp;gt;Click Me&amp;lt;/button&amp;gt;
&amp;lt;button class="btn btn-danger"&amp;gt;Delete&amp;lt;/button&amp;gt;

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;📦 Cards&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;
&amp;lt;div class="card" style="width: 18rem;"&amp;gt;
  &amp;lt;img src="..." class="card-img-top" alt="..."&amp;gt;
  &amp;lt;div class="card-body"&amp;gt;
    &amp;lt;h5 class="card-title"&amp;gt;Title&amp;lt;/h5&amp;gt;
    &amp;lt;p class="card-text"&amp;gt;Some text here.&amp;lt;/p&amp;gt;
    &amp;lt;a href="#" class="btn btn-primary"&amp;gt;Go&amp;lt;/a&amp;gt;
  &amp;lt;/div&amp;gt;
&amp;lt;/div&amp;gt;

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;📑 Forms&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;
&amp;lt;form&amp;gt;
  &amp;lt;input type="text" class="form-control" placeholder="Enter Name"&amp;gt;
  &amp;lt;button class="btn btn-success mt-2"&amp;gt;Submit&amp;lt;/button&amp;gt;
&amp;lt;/form&amp;gt;

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;🧰 Advanced Components&lt;/p&gt;

&lt;p&gt;📦 Navbar&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;
&amp;lt;nav class="navbar navbar-expand-lg navbar-light bg-light"&amp;gt;
  &amp;lt;a class="navbar-brand" href="#"&amp;gt;Site&amp;lt;/a&amp;gt;
&amp;lt;/nav&amp;gt;

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;🔲 Modal&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;
&amp;lt;!-- Trigger --&amp;gt;
&amp;lt;button data-bs-toggle="modal" data-bs-target="#myModal"&amp;gt;Launch Modal&amp;lt;/button&amp;gt;

&amp;lt;!-- Modal --&amp;gt;
&amp;lt;div class="modal fade" id="myModal" tabindex="-1"&amp;gt;
  &amp;lt;div class="modal-dialog"&amp;gt;
    &amp;lt;div class="modal-content"&amp;gt;
      &amp;lt;div class="modal-header"&amp;gt;
        &amp;lt;h5 class="modal-title"&amp;gt;Modal Title&amp;lt;/h5&amp;gt;
      &amp;lt;/div&amp;gt;
      &amp;lt;div class="modal-body"&amp;gt;This is a modal!&amp;lt;/div&amp;gt;
      &amp;lt;div class="modal-footer"&amp;gt;
        &amp;lt;button class="btn btn-secondary" data-bs-dismiss="modal"&amp;gt;Close&amp;lt;/button&amp;gt;
      &amp;lt;/div&amp;gt;
    &amp;lt;/div&amp;gt;
  &amp;lt;/div&amp;gt;
&amp;lt;/div&amp;gt;

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;🧭 Bootstrap Icons&lt;/p&gt;

&lt;p&gt;💻 Add this in &lt;/p&gt; to use icons:&lt;br&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;
&amp;lt;link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons/font/bootstrap-icons.css"&amp;gt;

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;


&lt;p&gt;Then use:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;
&amp;lt;i class="bi bi-house-door"&amp;gt;&amp;lt;/i&amp;gt;


&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;🧪 Advanced Layout Techniques&lt;/p&gt;

&lt;p&gt;🔸 Responsive Embeds&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;
&amp;lt;div class="ratio ratio-16x9"&amp;gt;
  &amp;lt;iframe src="..." title="YouTube video"&amp;gt;&amp;lt;/iframe&amp;gt;
&amp;lt;/div&amp;gt;

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;🔸 Sticky Header&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;
&amp;lt;nav class="navbar sticky-top navbar-light bg-light"&amp;gt;Sticky!&amp;lt;/nav&amp;gt;

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;⚙️ Utilities &amp;amp; Helper Classes&lt;/p&gt;

&lt;p&gt;🧠 Bootstrap provides utility classes for:&lt;/p&gt;

&lt;p&gt;✅ Spacing → m-3, p-2&lt;/p&gt;

&lt;p&gt;✅ Colors → text-danger, bg-warning&lt;/p&gt;

&lt;p&gt;✅ Text alignment → text-center, text-end&lt;/p&gt;

&lt;p&gt;✅ Display → d-none, d-block&lt;/p&gt;

&lt;p&gt;🧪 Try combining multiple classes to customise layout easily.&lt;/p&gt;

&lt;p&gt;📢 Responsive Design with Breakpoints&lt;/p&gt;

&lt;p&gt;🎯 Bootstrap breakpoints:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;
sm – small devices

md – medium devices

lg – large

xl – extra large

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;🔄 Bootstrap Layout Classes&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;
container vs container-fluid

Flex layout → d-flex, justify-content-center

Grid nesting → use .row inside columns

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



</description>
      <category>webdev</category>
      <category>bootstrap</category>
      <category>devsync</category>
    </item>
    <item>
      <title>🎨 Complete CSS : From Basics to Advanced</title>
      <dc:creator>Swapnil Meshram</dc:creator>
      <pubDate>Wed, 11 Jun 2025 15:12:37 +0000</pubDate>
      <link>https://dev.to/swapnilmeshram/cascading-style-sheets-css-55a2</link>
      <guid>https://dev.to/swapnilmeshram/cascading-style-sheets-css-55a2</guid>
      <description>&lt;p&gt;Presented by Swapnil Meshram within mentorship &lt;a class="mentioned-user" href="https://dev.to/devsyncin"&gt;@devsyncin&lt;/a&gt; &lt;/p&gt;

&lt;p&gt;🎓 Under the mentorship of DevSync, enhanced CSS skills through a&lt;br&gt;
 combination of structured learning and hands-on practice.&lt;/p&gt;

&lt;p&gt;🧠 CSS is the language used to style an HTML document. It describes how HTML elements should be displayed.&lt;/p&gt;
&lt;h2&gt;
  
  
  Why Use CSS?
&lt;/h2&gt;


&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;
📱 Makes websites visually appealing

🔁 Reusable styles across multiple pages

📦 Enables responsive and adaptive designs

✨ Styling Enhancements

🎨 Adds visual design to web content

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;h2&gt;
  
  
  📌 CSS Syntax
&lt;/h2&gt;


&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;
selector {
  property: value;
}

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;


&lt;p&gt;Example:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;
h1 {
  color: green;
  font-size: 30px;
}

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  📌 Types of CSS
&lt;/h2&gt;

&lt;p&gt;There are three main types of CSS based on how it’s applied:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Type&lt;/th&gt;
&lt;th&gt;Description&lt;/th&gt;
&lt;th&gt;Example&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Inline CSS&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Applied directly within an HTML tag&lt;/td&gt;
&lt;td&gt;&lt;code&gt;&amp;lt;h1 style="color:red;"&amp;gt;Hello&amp;lt;/h1&amp;gt;&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Internal CSS&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Written within &lt;code&gt;&amp;lt;style&amp;gt;&lt;/code&gt; in the &lt;code&gt;&amp;lt;head&amp;gt;&lt;/code&gt;
&lt;/td&gt;
&lt;td&gt;&lt;code&gt;&amp;lt;style&amp;gt; h1 { color: blue; } &amp;lt;/style&amp;gt;&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;External CSS&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Linked using an external &lt;code&gt;.css&lt;/code&gt; file&lt;/td&gt;
&lt;td&gt;&lt;code&gt;&amp;lt;link rel="stylesheet" href="style.css"&amp;gt;&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;h2&gt;
  
  
  📌 Selectors in CSS
&lt;/h2&gt;

&lt;p&gt;CSS selectors target HTML elements to apply styles.&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Selector Type&lt;/th&gt;
&lt;th&gt;Example&lt;/th&gt;
&lt;th&gt;Targets&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Element&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;p&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;All &lt;code&gt;&amp;lt;p&amp;gt;&lt;/code&gt; tags&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Class&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;.note&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Elements with class="note"&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;ID&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;#header&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Element with id="header"&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Group&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;h1, p&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;All &lt;code&gt;&amp;lt;h1&amp;gt;&lt;/code&gt; and &lt;code&gt;&amp;lt;p&amp;gt;&lt;/code&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Universal&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;*&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;All elements&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Descendant&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;div p&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;
&lt;code&gt;&amp;lt;p&amp;gt;&lt;/code&gt; inside &lt;code&gt;&amp;lt;div&amp;gt;&lt;/code&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;h2&gt;
  
  
  📌 Common CSS Properties
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Property&lt;/th&gt;
&lt;th&gt;Description&lt;/th&gt;
&lt;th&gt;Example&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;color&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Text color&lt;/td&gt;
&lt;td&gt;&lt;code&gt;color: red;&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;background-color&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Background color&lt;/td&gt;
&lt;td&gt;&lt;code&gt;background-color: yellow;&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;font-size&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Size of text&lt;/td&gt;
&lt;td&gt;&lt;code&gt;font-size: 20px;&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;padding&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Space inside element&lt;/td&gt;
&lt;td&gt;&lt;code&gt;padding: 10px;&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;margin&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Space outside element&lt;/td&gt;
&lt;td&gt;&lt;code&gt;margin: 10px;&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;border&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Border styling&lt;/td&gt;
&lt;td&gt;&lt;code&gt;border: 1px solid black;&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;width/height&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Set size&lt;/td&gt;
&lt;td&gt;&lt;code&gt;width: 100px;&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;text-align&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Text alignment&lt;/td&gt;
&lt;td&gt;&lt;code&gt;text-align: center;&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;h2&gt;
  
  
  📌 Box Model
&lt;/h2&gt;

&lt;p&gt;The box model explains how elements are structured and spaced in CSS:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;
[ Margin ]
  [ Border ]
    [ Padding ]
      [ Content ]

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  📌 Positioning in CSS
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Property&lt;/th&gt;
&lt;th&gt;Use&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;static&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Default flow&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;relative&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Position relative to its normal spot&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;absolute&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Positioned relative to nearest ancestor&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;fixed&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Fixed position on screen&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;sticky&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Scrolls with page until a point&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;h2&gt;
  
  
  📌 Display &amp;amp; Visibility
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;
display: block; – Takes full width

display: inline; – Takes only needed width

display: none; – Element disappears

visibility: hidden; – Hides element, but space remains


&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  📌 Flexbox Basics
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;
.container {
  display: flex;
  justify-content: center;
  align-items: center;
}

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;🔹 Properties:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;
justify-content: horizontal alignment

align-items: vertical alignment

flex-direction: row or column

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  📌 Grid Layout
&lt;/h2&gt;

&lt;p&gt;CSS Grid is great for 2D layouts.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;
.container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}


&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  📌 Media Queries (Responsive Design)
&lt;/h2&gt;

&lt;p&gt;Media queries make sites responsive.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;
@media (max-width: 600px) {
  body {
    background-color: lightblue;
  }
}

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;📱 Targets devices of different screen sizes.&lt;/p&gt;

&lt;h2&gt;
  
  
  📌 CSS Pseudo-classes &amp;amp; Elements
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Type&lt;/th&gt;
&lt;th&gt;Syntax&lt;/th&gt;
&lt;th&gt;Use&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Pseudo-class&lt;/td&gt;
&lt;td&gt;&lt;code&gt;a:hover&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Style when hovering&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Pseudo-element&lt;/td&gt;
&lt;td&gt;&lt;code&gt;p::first-line&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Style part of element&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;h2&gt;
  
  
  📌 Advanced CSS Concepts
&lt;/h2&gt;

&lt;p&gt;Transitions&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;
button {
  transition: background-color 0.3s ease-in-out;
}

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Animations&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.fade {
  animation: fadeIn 1s ease;
}
Z-index – controls stacking of overlapping elements

@font-face – loads custom fonts

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  📌 Best Practices in CSS
&lt;/h2&gt;

&lt;p&gt;✅ Use external stylesheets for cleaner HTML&lt;/p&gt;

&lt;p&gt;✅ Organise styles with comments&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>css</category>
      <category>devsync</category>
    </item>
    <item>
      <title>📘 Complete HTML: From Basics to Advance</title>
      <dc:creator>Swapnil Meshram</dc:creator>
      <pubDate>Fri, 06 Jun 2025 19:24:55 +0000</pubDate>
      <link>https://dev.to/swapnilmeshram/getting-started-with-html-44fn</link>
      <guid>https://dev.to/swapnilmeshram/getting-started-with-html-44fn</guid>
      <description>&lt;p&gt;Presented by Swapnil Meshram within mentorship &lt;a class="mentioned-user" href="https://dev.to/devsyncin"&gt;@devsyncin&lt;/a&gt; &lt;/p&gt;

&lt;p&gt;Started learning and understanding HTML tags with hands-on practice and gaining a deeper understanding of structuring and formatting web content.&lt;/p&gt;

&lt;h2&gt;
  
  
  Introduction to HTML
&lt;/h2&gt;

&lt;p&gt;What is HTML?&lt;/p&gt;

&lt;p&gt;HTML (HyperText Markup Language) is the markup language used to build web pages. It defines the structure and content of a webpage.&lt;/p&gt;

&lt;h2&gt;
  
  
  Basic HTML Structure
&lt;/h2&gt;

&lt;p&gt;An HTML document consists of:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;
&amp;lt;!DOCTYPE html&amp;gt;         &amp;lt;!-- Declares HTML5 document type --&amp;gt;
&amp;lt;html&amp;gt;                  &amp;lt;!-- Root element --&amp;gt;
  &amp;lt;head&amp;gt;                &amp;lt;!-- Metadata (title, linked CSS/js) --&amp;gt;
    &amp;lt;title&amp;gt;My First Page&amp;lt;/title&amp;gt;
  &amp;lt;/head&amp;gt;
  &amp;lt;body&amp;gt;                &amp;lt;!-- Content visible to users --&amp;gt;
    &amp;lt;h1&amp;gt;Hello, World!&amp;lt;/h1&amp;gt;
  &amp;lt;/body&amp;gt;
&amp;lt;/html&amp;gt;

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  HTML Elements/Tags:
&lt;/h2&gt;

&lt;p&gt;🏷️ Headings&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;
&amp;lt;h1&amp;gt;This is a Heading 1&amp;lt;/h1&amp;gt;
&amp;lt;h2&amp;gt;This is a Heading 2&amp;lt;/h2&amp;gt;
&amp;lt;h3&amp;gt;This is a Heading 3&amp;lt;/h3&amp;gt;
&amp;lt;h4&amp;gt;This is a Heading 1&amp;lt;/h4&amp;gt;
&amp;lt;h5&amp;gt;This is a Heading 2&amp;lt;/h5&amp;gt;
&amp;lt;h6&amp;gt;This is a Heading 3&amp;lt;/h6&amp;gt;

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;📝 Paragraph&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;
&amp;lt;p&amp;gt;This is a paragraph of text.&amp;lt;/p&amp;gt;

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;🔤 Text Formatting Tags:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;
&amp;lt;b&amp;gt;Bold Text&amp;lt;/b&amp;gt;
&amp;lt;i&amp;gt;Italic Text&amp;lt;/i&amp;gt;
&amp;lt;u&amp;gt;Underlined Text&amp;lt;/u&amp;gt;

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;🧮 Lists:&lt;/p&gt;

&lt;p&gt;Types of Lists:&lt;/p&gt;

&lt;p&gt;Unordered:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;
&amp;lt;ul&amp;gt;
  &amp;lt;li&amp;gt;Bullet item&amp;lt;/li&amp;gt;
&amp;lt;/ul&amp;gt;

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Ordered:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;
&amp;lt;ol&amp;gt;
  &amp;lt;li&amp;gt;Numbered item&amp;lt;/li&amp;gt;
&amp;lt;/ol&amp;gt;

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;📸 Images&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;
&amp;lt;img src="image.jpg" alt="Description" width="200"&amp;gt;

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;🔗  Links&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;
&amp;lt;a href="https://example.com"&amp;gt;Visit Example/a&amp;gt;

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;▶️ Video Embeds&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;
&amp;lt;video controls width="300"&amp;gt;
  &amp;lt;source src="video.mp4" type="video/mp4"&amp;gt;
&amp;lt;/video&amp;gt;

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;▶️ Audio Embeds&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;
&amp;lt;audio controls&amp;gt;
  &amp;lt;source src="audio.mp3" type="audio/mp3"&amp;gt;
&amp;lt;/audio&amp;gt;

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;🧠 Iframes&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;
&amp;lt;iframe src="https://example.com" width="300" height="200"&amp;gt;&amp;lt;/iframe&amp;gt;


&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;🧩 Tables&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;
&amp;lt;table border="1"&amp;gt;
  &amp;lt;tr&amp;gt;
    &amp;lt;th&amp;gt;Name&amp;lt;/th&amp;gt;&amp;lt;th&amp;gt;Age&amp;lt;/th&amp;gt;
  &amp;lt;/tr&amp;gt;
  &amp;lt;tr&amp;gt;
    &amp;lt;td&amp;gt;Alice&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;25&amp;lt;/td&amp;gt;
  &amp;lt;/tr&amp;gt;
&amp;lt;/table&amp;gt;

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;🧮 Forms and Input&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;
html
Copy
Edit
&amp;lt;form&amp;gt;
  &amp;lt;label&amp;gt;Email:&amp;lt;/label&amp;gt;
  &amp;lt;input type="email" required&amp;gt;&amp;lt;br&amp;gt;

  &amp;lt;label&amp;gt;Password:&amp;lt;/label&amp;gt;
  &amp;lt;input type="password" required&amp;gt;&amp;lt;br&amp;gt;

  &amp;lt;input type="submit" value="Submit"&amp;gt;
&amp;lt;/form&amp;gt;

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;🧱 Semantic Tags&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;
&amp;lt;header&amp;gt;Site Header&amp;lt;/header&amp;gt;
&amp;lt;nav&amp;gt;Navigation Menu&amp;lt;/nav&amp;gt;
&amp;lt;main&amp;gt;Main Content Area&amp;lt;/main&amp;gt;
&amp;lt;article&amp;gt;Blog Article&amp;lt;/article&amp;gt;
&amp;lt;footer&amp;gt;Footer Info&amp;lt;/footer&amp;gt;

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



</description>
      <category>webdev</category>
      <category>html</category>
      <category>devsync</category>
    </item>
    <item>
      <title>📘 Mastering Git &amp; GitHub: From Basics to Pro-Level Commands</title>
      <dc:creator>Swapnil Meshram</dc:creator>
      <pubDate>Thu, 05 Jun 2025 19:03:53 +0000</pubDate>
      <link>https://dev.to/swapnilmeshram/git-and-github-a-beginners-journey-with-devsync-21m7</link>
      <guid>https://dev.to/swapnilmeshram/git-and-github-a-beginners-journey-with-devsync-21m7</guid>
      <description>&lt;p&gt;Presented by Swapnil Meshram within mentorship &lt;a href="http://devsync.in/" rel="noopener noreferrer"&gt;DevSync.in&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;🏢 Shoutout to DevSync for inspiring this beginner-friendly Git and GitHub series. Perfect for those starting out or looking to build hands-on experience with version control and collaboration. Follow DevSync for more developer-focused learning!&lt;/p&gt;

&lt;p&gt;🧩 What are Git &amp;amp; GitHub?&lt;/p&gt;

&lt;p&gt;🔹 Git&lt;/p&gt;

&lt;p&gt;A fast, distributed version control system that helps you track changes in your source code and collaborate with others.&lt;/p&gt;

&lt;p&gt;🔹 GitHub&lt;/p&gt;

&lt;p&gt;A cloud-based Git repository hosting service. It enables remote collaboration, pull requests, code reviews, and issue tracking.&lt;/p&gt;

&lt;p&gt;Here is a complete list of Git commands with syntax from basic to advanced, including setup, workflow, branching, stash, logs, remotes, recovery, and more.&lt;/p&gt;




&lt;h2&gt;
  
  
  🧰 1. Git Setup (Global Configuration)
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;
git config &lt;span class="nt"&gt;--global&lt;/span&gt; user.name &lt;span class="s2"&gt;"Your Name"&lt;/span&gt;
git config &lt;span class="nt"&gt;--global&lt;/span&gt; user.email &lt;span class="s2"&gt;"you@example.com"&lt;/span&gt;
git config &lt;span class="nt"&gt;--global&lt;/span&gt; core.editor &lt;span class="s2"&gt;"code --wait"&lt;/span&gt;  &lt;span class="c"&gt;# Optional: VS Code as default editor&lt;/span&gt;
git config &lt;span class="nt"&gt;--global&lt;/span&gt; init.defaultBranch main     &lt;span class="c"&gt;# Default branch name&lt;/span&gt;
git config &lt;span class="nt"&gt;--list&lt;/span&gt;                               &lt;span class="c"&gt;# View current config&lt;/span&gt;

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;






&lt;h2&gt;
  
  
  📦 2. Repository Management
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;
git init                                &lt;span class="c"&gt;# Initialize a new Git repo&lt;/span&gt;
git clone &amp;lt;repo-url&amp;gt;                    &lt;span class="c"&gt;# Clone an existing repo&lt;/span&gt;
git remote &lt;span class="nt"&gt;-v&lt;/span&gt;                           &lt;span class="c"&gt;# Show remotes&lt;/span&gt;
git remote add origin &amp;lt;url&amp;gt;             &lt;span class="c"&gt;# Add a remote origin&lt;/span&gt;
git remote remove origin                &lt;span class="c"&gt;# Remove remote&lt;/span&gt;

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;






&lt;h2&gt;
  
  
  📄 3. File Tracking
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;
git status                              &lt;span class="c"&gt;# Check repo status&lt;/span&gt;
git add &amp;lt;file&amp;gt;                          &lt;span class="c"&gt;# Stage a file&lt;/span&gt;
git add &lt;span class="nb"&gt;.&lt;/span&gt;                               &lt;span class="c"&gt;# Stage all changes&lt;/span&gt;
git add &lt;span class="nt"&gt;-A&lt;/span&gt;                              &lt;span class="c"&gt;# Add all (tracked/untracked)&lt;/span&gt;
git reset &amp;lt;file&amp;gt;                        &lt;span class="c"&gt;# Unstage a file&lt;/span&gt;
git reset                               &lt;span class="c"&gt;# Unstage everything&lt;/span&gt;

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;






&lt;h2&gt;
  
  
  💾 4. Committing
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;
git commit &lt;span class="nt"&gt;-m&lt;/span&gt; &lt;span class="s2"&gt;"Commit message"&lt;/span&gt;          &lt;span class="c"&gt;# Commit with message&lt;/span&gt;
git commit &lt;span class="nt"&gt;-a&lt;/span&gt; &lt;span class="nt"&gt;-m&lt;/span&gt; &lt;span class="s2"&gt;"Quick commit"&lt;/span&gt;         &lt;span class="c"&gt;# Commit all tracked changes&lt;/span&gt;
git commit &lt;span class="nt"&gt;--amend&lt;/span&gt;                      &lt;span class="c"&gt;# Edit last commit (don’t use after pushing)&lt;/span&gt;

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;






&lt;h2&gt;
  
  
  🌳 5. Branching &amp;amp; Merging
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;
git branch                              &lt;span class="c"&gt;# List branches&lt;/span&gt;
git branch &amp;lt;branch&amp;gt;                     &lt;span class="c"&gt;# Create new branch&lt;/span&gt;
git checkout &amp;lt;branch&amp;gt;                   &lt;span class="c"&gt;# Switch branch&lt;/span&gt;
git switch &amp;lt;branch&amp;gt;                     &lt;span class="c"&gt;# Modern alternative to checkout&lt;/span&gt;
git checkout &lt;span class="nt"&gt;-b&lt;/span&gt; &amp;lt;new-branch&amp;gt;            &lt;span class="c"&gt;# Create &amp;amp; switch&lt;/span&gt;
git merge &amp;lt;branch&amp;gt;                      &lt;span class="c"&gt;# Merge into current branch&lt;/span&gt;
git branch &lt;span class="nt"&gt;-d&lt;/span&gt; &amp;lt;branch&amp;gt;                  &lt;span class="c"&gt;# Delete a local branch&lt;/span&gt;
git branch &lt;span class="nt"&gt;-D&lt;/span&gt; &amp;lt;branch&amp;gt;                  &lt;span class="c"&gt;# Force delete&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;






&lt;h2&gt;
  
  
  📥 6. Pull, Push, and Remotes
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;git pull                                &lt;span class="c"&gt;# Pull and merge changes&lt;/span&gt;
git pull origin main                    &lt;span class="c"&gt;# Pull specific branch&lt;/span&gt;
git push                                &lt;span class="c"&gt;# Push current branch&lt;/span&gt;
git push origin &amp;lt;branch&amp;gt;                &lt;span class="c"&gt;# Push specific branch&lt;/span&gt;
git push &lt;span class="nt"&gt;-u&lt;/span&gt; origin &amp;lt;branch&amp;gt;             &lt;span class="c"&gt;# Set upstream branch&lt;/span&gt;
git fetch                               &lt;span class="c"&gt;# Download changes (don’t merge)&lt;/span&gt;
git fetch &lt;span class="nt"&gt;--all&lt;/span&gt;                         &lt;span class="c"&gt;# Fetch all remotes&lt;/span&gt;

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;






&lt;h2&gt;
  
  
  🕵️ 7. Viewing History &amp;amp; Logs
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;git log                                 &lt;span class="c"&gt;# View commit log&lt;/span&gt;
git log &lt;span class="nt"&gt;--oneline&lt;/span&gt;                       &lt;span class="c"&gt;# Condensed log&lt;/span&gt;
git log &lt;span class="nt"&gt;--graph&lt;/span&gt; &lt;span class="nt"&gt;--oneline&lt;/span&gt; &lt;span class="nt"&gt;--all&lt;/span&gt;         &lt;span class="c"&gt;# Visual graph&lt;/span&gt;
git show &amp;lt;commit&amp;gt;                       &lt;span class="c"&gt;# Show specific commit&lt;/span&gt;
git diff                                &lt;span class="c"&gt;# Compare working directory to index&lt;/span&gt;
git diff &lt;span class="nt"&gt;--cached&lt;/span&gt;                       &lt;span class="c"&gt;# Compare index to last commit&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;






&lt;h2&gt;
  
  
  🧳 8. Stashing (Save work temporarily)
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;
git stash                               &lt;span class="c"&gt;# Stash changes&lt;/span&gt;
git stash list                          &lt;span class="c"&gt;# View stashed changes&lt;/span&gt;
git stash pop                           &lt;span class="c"&gt;# Apply &amp;amp; remove latest stash&lt;/span&gt;
git stash apply                         &lt;span class="c"&gt;# Apply latest stash (keep it)&lt;/span&gt;
git stash drop                          &lt;span class="c"&gt;# Delete latest stash&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;






&lt;h2&gt;
  
  
  🧼 9. Cleaning (Remove untracked)
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;git clean &lt;span class="nt"&gt;-n&lt;/span&gt;                            &lt;span class="c"&gt;# Show what will be deleted&lt;/span&gt;
git clean &lt;span class="nt"&gt;-f&lt;/span&gt;                            &lt;span class="c"&gt;# Delete untracked files&lt;/span&gt;
git clean &lt;span class="nt"&gt;-fd&lt;/span&gt;                           &lt;span class="c"&gt;# Delete untracked files and dirs&lt;/span&gt;

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;






&lt;h2&gt;
  
  
  ♻️ 10. Resetting, Reverting, Recovering
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;
git reset &lt;span class="nt"&gt;--soft&lt;/span&gt; HEAD~1                 &lt;span class="c"&gt;# Undo commit (keep changes staged)&lt;/span&gt;
git reset &lt;span class="nt"&gt;--mixed&lt;/span&gt; HEAD~1                &lt;span class="c"&gt;# Undo commit (unstage changes)&lt;/span&gt;
git reset &lt;span class="nt"&gt;--hard&lt;/span&gt; HEAD~1                 &lt;span class="c"&gt;# Undo everything (destructive)&lt;/span&gt;

git revert &amp;lt;commit-id&amp;gt;                  &lt;span class="c"&gt;# Safely undo a commit by creating a new one&lt;/span&gt;
git reflog                              &lt;span class="c"&gt;# Show history of HEAD changes&lt;/span&gt;
git checkout &lt;span class="nt"&gt;--&lt;/span&gt; &amp;lt;file&amp;gt;                  &lt;span class="c"&gt;# Discard local changes to a file&lt;/span&gt;

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;






&lt;h2&gt;
  
  
  🍒 11. Rebase &amp;amp; Cherry-pick
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;
git rebase &amp;lt;branch&amp;gt;                     &lt;span class="c"&gt;# Rebase current branch onto another&lt;/span&gt;
git rebase &lt;span class="nt"&gt;-i&lt;/span&gt; HEAD~3                    &lt;span class="c"&gt;# Interactive rebase last 3 commits&lt;/span&gt;
git cherry-pick &amp;lt;commit-id&amp;gt;            &lt;span class="c"&gt;# Apply specific commit to current branch&lt;/span&gt;

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;






&lt;h2&gt;
  
  
  🔖 12. Tagging
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;git tag                                 &lt;span class="c"&gt;# List tags&lt;/span&gt;
git tag &amp;lt;tagname&amp;gt;                       &lt;span class="c"&gt;# Create lightweight tag&lt;/span&gt;
git tag &lt;span class="nt"&gt;-a&lt;/span&gt; &amp;lt;tagname&amp;gt; &lt;span class="nt"&gt;-m&lt;/span&gt; &lt;span class="s2"&gt;"msg"&lt;/span&gt;           &lt;span class="c"&gt;# Annotated tag&lt;/span&gt;
git push origin &amp;lt;tagname&amp;gt;               &lt;span class="c"&gt;# Push tag to remote&lt;/span&gt;
git tag &lt;span class="nt"&gt;-d&lt;/span&gt; &amp;lt;tagname&amp;gt;                    &lt;span class="c"&gt;# Delete local tag&lt;/span&gt;
git push origin &lt;span class="nt"&gt;--delete&lt;/span&gt; &amp;lt;tagname&amp;gt;      &lt;span class="c"&gt;# Delete remote tag&lt;/span&gt;

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;






&lt;h2&gt;
  
  
  💡 13. Aliases
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;
git config &lt;span class="nt"&gt;--global&lt;/span&gt; alias.co checkout
git config &lt;span class="nt"&gt;--global&lt;/span&gt; alias.br branch
git config &lt;span class="nt"&gt;--global&lt;/span&gt; alias.cm &lt;span class="s1"&gt;'commit -m'&lt;/span&gt;
git config &lt;span class="nt"&gt;--global&lt;/span&gt; alias.st status
git config &lt;span class="nt"&gt;--global&lt;/span&gt; alias.unstage &lt;span class="s1"&gt;'reset HEAD --'&lt;/span&gt;

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Then you can use&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;
git co main
git br
git cm &lt;span class="s2"&gt;"Fast commit"&lt;/span&gt;

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;






&lt;h2&gt;
  
  
  🧪 14. Workflow (Example)
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;mkdir test-repo
cd test-repo
git init
echo "Hello Git" &amp;gt; index.txt
git add .
git commit -m "Initial commit"
git branch dev
git checkout dev
echo "Working on dev" &amp;gt;&amp;gt; index.txt
git commit -am "Update on dev"
git checkout main
git merge dev

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;🧾 Summary&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Command&lt;/th&gt;
&lt;th&gt;Description&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;git init&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Initializes a new Git repository in the current directory.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;git config --global user.name "Your Name"&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Sets your Git username globally.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;git config --global user.email "you@example.com"&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Sets your Git email globally.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;git status&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Shows the status of changes (tracked, untracked, staged, etc.).&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;git add &amp;lt;file&amp;gt;&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Stages a specific file for commit.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;git add .&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Stages all modified and new files in the current directory.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;git commit -m "message"&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Commits staged files with a message.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;git log&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Shows the commit history.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;git clone &amp;lt;repo-url&amp;gt;&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Clones a repository from GitHub or other remote.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;git remote -v&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Shows configured remote repositories.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;git push&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Pushes commits to the remote repository.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;git pull&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Fetches and merges updates from the remote.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;git diff&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Shows the difference between working directory and last commit.&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

</description>
      <category>git</category>
      <category>github</category>
      <category>devsync</category>
    </item>
  </channel>
</rss>
