Programming Courses | Courses | archita phukan | Love Babbar | Coding Ninja | Durgasoft | ChatGPT prompt AI Prompt
3.3K subscribers
636 photos
15 videos
1 file
144 links
Programming
Coding
AI Websites

πŸ“‘Network of #TheStarkArmyΒ©

πŸ“ŒShop : https://t.me/TheStarkArmyShop/25

☎️ Paid Ads : @ReachtoStarkBot

Ads policy : https://bit.ly/2BxoT2O
Download Telegram
πŸ”° CSS Select and element's parent

For a long time, in CSS land, developers were longing for a feature that allowed to select the parent of a particular element.

In this example, we have two .parent elements but with different children. With the :has() pseudo selector, we can select the parent of a particular child. With this we can apply some styling only to that particular parent.

This opens up a lot of possibilities such as

✨ Style a list when a particular element is hovered
✨ Style a card depending on whether or not it has an image
✨ Style a header depending on whether or not it has an hyperlink

The possibilities are endless πŸ”₯
@CodingCoursePro
Shared with Loveβž•
Please open Telegram to view this post
VIEW IN TELEGRAM
Today, let's start with the first topic in the Web Development Roadmap:

βœ… How the Web Works 🌐πŸ“₯

πŸ“Œ 1. What happens when you type a URL in your browser?
▢️ Example: You type www.google.com and hit Enter.

Here’s what happens:

1️⃣ Browser Sends a Request
Your browser sends a request to the server where the website is stored. This is called an HTTP request.

2️⃣ DNS Resolves the Address
DNS (Domain Name System) turns www.google.com into an IP address like 142.250.64.78, so it knows where to send the request.

3️⃣ Server Receives the Request
The server is a computer that stores the website’s files. It processes the request and sends back the HTML, CSS, and JS files.

4️⃣ Browser Displays the Page
Your browser reads those files and renders the website for you to see.

πŸ“Œ 2. Key Concepts You Should Know

🧠 Client
Your browser (like Chrome) is the client – it requests the website.

🧠 Server
The machine that holds the website and responds to your request.

🧠 HTTP
A protocol – like a language – that browsers and servers use to talk.
➑️ Example:
⦁ GET – asking for a webpage
⦁ POST – sending form data

🧠 HTML, CSS, JavaScript
⦁ HTML: Gives structure (e.g., headings, paragraphs)
⦁ CSS: Adds style (e.g., colors, layout)
⦁ JS: Adds interaction (e.g., clicks, animations)

πŸ“Œ Example Flow:

You type: www.example.com
↓
DNS converts it to IP: 93.184.216.34
↓
Your browser sends an HTTP GET request
↓
Server responds with HTML, CSS, JS
↓
Browser renders the page for you!

πŸ’‘ Every time you visit a website or build one, this process is happening behind the scenes. As a web developer, understanding it helps you debug issues and write better code!

Web Development Roadmap: @CodingCoursePro
Shared with Loveβž•

πŸ’¬ Tap ❀️ for more!
Please open Telegram to view this post
VIEW IN TELEGRAM
❀1
βœ… Set Up Your Code Editor & Browser Dev Tools πŸ› οΈπŸŒ

Before building websites, you need a solid environment. Here's how to set up everything as a beginner:

πŸ”Ή 1. Code Editor: VS Code (Visual Studio Code)
VS Code is the most beginner-friendly and powerful editor used by most web developers.

➀ Steps to Set Up:
1️⃣ Download & install from code.visualstudio.com
2️⃣ Open VS Code β†’ Go to Extensions tab (left sidebar)
3️⃣ Install these must-have extensions:
⦁ Live Server – Auto-refresh browser when you save
⦁ Prettier – Format your code neatly
⦁ HTML CSS Support – Boosts suggestions & auto-complete
⦁ Auto Rename Tag – Edits both opening and closing tags
⦁ Path Intellisense – Autocomplete file paths

➀ Settings to Tweak (optional):
⦁ Font size, tab spacing
⦁ Theme: Dark+ (default) or install others like Dracula

πŸ”Ή 2. Browser: Chrome or Firefox
Use a modern browser with strong developer tools β€” Google Chrome is highly recommended.

➀ How to Open DevTools:
Right-click on any webpage β†’ Inspect
or press Ctrl+Shift+I (Windows) / Cmd+Opt+I (Mac)

➀ Key DevTools Tabs:
⦁ Elements – Inspect & edit HTML/CSS live
⦁ Console – View JavaScript logs & errors
⦁ Network – Monitor page load and API calls
⦁ Responsive View – Test your site on mobile/tablets
(Click the phone+tablet icon on the top-left)

πŸ’‘ Pro Tip:
Use Live Server in VS Code + DevTools in Chrome side-by-side for real-time preview & debugging. This workflow saves hours!

@CodingCoursePro
Shared with Loveβž•

πŸ’¬ Tap ❀️ for more!
Please open Telegram to view this post
VIEW IN TELEGRAM
❀1
πŸ”° Python Decorators
Please open Telegram to view this post
VIEW IN TELEGRAM
Please open Telegram to view this post
VIEW IN TELEGRAM
βœ… Frontend Development Skills (HTML, CSS, JavaScript) πŸŒπŸ’»

1️⃣ HTML (HyperText Markup Language)
Purpose: It gives structure to a webpage.
Think of it like the skeleton of your site.

Example:
<!DOCTYPE html>
<html>
<head>
<title>My First Page</title>
</head>
<body>
<h1>Hello, World!</h1>
<p>This is my first webpage.</p>
</body>
</html>

πŸ’‘ Tags like <h1> are for headings, <p> for paragraphs. Pro tip: Use semantic tags like <article> for better SEO and screen readers.

2️⃣ CSS (Cascading Style Sheets)
Purpose: Adds style to your HTML – colors, fonts, layout.
Think of it like makeup or clothes for your HTML skeleton.

Example:
<style>
h1 {
color: blue;
text-align: center;
}
p {
font-size: 18px;
color: gray;
}
</style>

πŸ’‘ You can add CSS inside <style> tags, or link an external CSS file. In 2025, master Flexbox for layouts: display: flex; aligns items like magic!

3️⃣ JavaScript
Purpose: Makes your site interactive – clicks, animations, data changes.
Think of it like the brain of the site.

Example:
<script>
function greet() {
alert("Welcome to my site!");
}
</script>

<button onclick="greet()">Click Me</button>

πŸ’‘ When you click the button, it shows a popup. Level up with event listeners: button.addEventListener('click', greet); for cleaner code.

πŸ‘Ά Mini Project Example
<!DOCTYPE html>
<html>
<head>
<title>Simple Site</title>
<style>
body { font-family: Arial; text-align: center; }
h1 { color: green; }
button { padding: 10px 20px; }
</style>
</head>
<body>
<h1>My Simple Webpage</h1>
<p>Click the button below:</p>
<button onclick="alert('Hello Developer!')">Say Hi</button>
</body>
</html>

βœ… Summary:
⦁ HTML = structure
⦁ CSS = style
⦁ JavaScript = interactivity

Mastering these 3 is your first step to becoming a web developer!

@CodingCoursePro
Shared with Loveβž•
πŸ’¬ Tap ❀️ for more!
Please open Telegram to view this post
VIEW IN TELEGRAM
🚨 Aadhaar Update! 🚨

Your Aadhaar card could soon feature only your photo and a QR code!
UIDAI is considering this change to combat data misuse and stop organizations (like hotels/event organizers) from collecting illegal photocopies. The new focus is on secure digital authentication via the QR code, not using the card as a simple document. Get ready for enhanced privacy!

#Aadhaar #UIDAI #DigitalIndia #Privacy

Credit goes to @Mr_NeophyteX
Mention credit to avoid copyright banned.
❀1
πŸ’‘ Most popular Programming languages in 2025
Please open Telegram to view this post
VIEW IN TELEGRAM
βœ… Advanced Front-End Development Skills 🌐✨

πŸ”Ή 1. Responsive Design
Why: Your website should look great on mobile, tablet, and desktop.
Learn:
⦁ Media Queries
⦁ Flexbox
⦁ CSS Grid

Example (Flexbox Layout):
 {
display: flex;
justify-content: space-between;
}

Example (Media Query):
@media (max-width: 600px) {.container {
flex-direction: column;
}
}


πŸ”Ή 2. CSS Frameworks
Why: Pre-built styles save time and help maintain consistency.

Bootstrap Example:
<button class="btn btn-success">Subscribe</button>

Tailwind CSS Example:
<button class="bg-green-500 text-white px-4 py-2 rounded">Subscribe</button>


πŸ”Ή 3. JavaScript Libraries (jQuery Basics)
Why: Simplifies DOM manipulation and AJAX requests (still useful in legacy projects).

Example (Hide Element):
<button id="btn">Hide</button>
<p id="text">Hello World</p>

<script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>
<script>
$("#btn").click(function() {
$("#text").hide();
});
</script>


πŸ”Ή 4. Form Validation with JavaScript
Why: Ensure users enter correct data before submission.

Example:
<form onsubmit="return validateForm()">
<input type="email" id="email" placeholder="Email">
<button type="submit">Submit</button>
</form>

<script>
function validateForm() {
const email = document.getElementById("email").value;
if (email === "") {
alert("Email is required");
return false;
}
}
</script>


πŸ”Ή 5. Dynamic DOM Manipulation
Why: Add interactivity (like toggling dark mode, modals, menus).

Dark Mode Example:
<button onclick="toggleTheme()">Toggle Dark Mode</button>

<script>
function toggleTheme() {
document.body.classList.toggle("dark-mode");
}
</script>
<style>.dark-mode {
background-color: #111;
color: #fff;
}
</style>


πŸ”Ή 6. Performance Optimization Tips
⦁ Compress images (use WebP)
⦁ Minify CSS/JS
⦁ Lazy load images
⦁ Use fewer fonts
⦁ Avoid blocking scripts in <head>

πŸ“Œ Mini Project Ideas to Practice:
⦁ Responsive landing page (Bootstrap/Tailwind)
⦁ Toggle dark/light theme
⦁ Newsletter signup form with validation
⦁ Mobile menu toggle with JavaScript

πŸ’¬ React ❀️ for more!
❀2
βœ… Version Control with Git & GitHub πŸ—‚οΈ

Version control is a must-have skill in web development! It lets you track changes in your code, collaborate with others, and avoid "it worked on my machine" problems πŸ˜…

πŸ“Œ What is Git?
Git is a distributed version control system that lets you save snapshots of your code.

πŸ“Œ What is GitHub?
GitHub is a cloud-based platform to store Git repositories and collaborate with developers.

πŸ› οΈ Basic Git Commands (with Examples)

1️⃣ git init
Initialize a Git repo in your project folder.
git init


2️⃣ git status
Check what changes are untracked or modified.
git status


3️⃣ git add
Add files to staging area (preparing them for commit).
git add index.html
git add. # Adds all files


4️⃣ git commit
Save the snapshot with a message.
git commit -m "Added homepage structure"


5️⃣ git log
See the history of commits.
git log


🌐 Using GitHub

6️⃣ git remote add origin
Connect your local repo to GitHub.
git remote add origin https://github.com/yourusername/repo.git


7️⃣ git push
Push your local commits to GitHub.
git push -u origin main


8️⃣ git pull
Pull latest changes from GitHub.
git pull origin main


πŸ‘₯ Collaboration Basics

πŸ”€ Branching & Merging
git branch feature-navbar
git checkout feature-navbar
# Make changes, then:
git add.
git commit -m "Added navbar"
git checkout main
git merge feature-navbar


πŸ” Pull Requests
Used on GitHub to review & merge code between branches.

🎯 Project Tip:
Use Git from day 1β€”even solo projects! It builds habits and prevents code loss.

πŸ’¬ React ❀️ for more!
❀1
πŸ’» Back-End Development Basics βš™οΈ

Back-end development is the part of web development that works behind the scenes. It handles data, business logic, and communication between the front-end (what users see) and the database.

What is Back-End Development?

- It powers websites and apps by processing user requests, storing and retrieving data, and performing operations on the server.
- Unlike front-end (design & interactivity), back-end focuses on the logic, database, and servers.

Core Components of Back-End

1. Server
   A server is a computer that listens to requests (like loading a page or submitting a form) and sends back responses.

2. Database
   Stores all the data your app needs β€” user info, posts, products, etc. 
   Types of databases: 
   - _SQL (Relational):_ MySQL, PostgreSQL 
   - _NoSQL (Non-relational):_ MongoDB, Firebase

3. APIs (Application Programming Interfaces) 
   Endpoints that let the front-end and back-end communicate. For example, getting a list of users or saving a new post.

4. Back-End Language & Framework 
   Common languages: JavaScript (Node.js), Python, PHP, Ruby, Java

Frameworks make coding easier: Express (Node.js), Django (Python), Laravel (PHP), Rails (Ruby)

How Does Back-End Work?

User β†’ Front-End β†’ Sends Request β†’ Server (Back-End) β†’ Processes Request β†’ Queries Database β†’ Sends Data Back β†’ Front-End β†’ User

Simple Example: Create a Back-End Server Using Node.js & Express

Let’s build a tiny app that sends a list of users when you visit a specific URL.

Step 1: Setup your environment

- Install Node.js from nodejs.org 
- Create a project folder and open terminal there 
- Initialize project & install Express framework: 

npm init -y
npm install express

Step 2: Create a file server.js

const express = require('express');
const app = express();
const port = 3000;

// Sample data - list of users
const users = [
  { id: 1, name: 'Alice' },
  { id: 2, name: 'Bob' }
];

// Create a route to handle GET requests at /users
app.get('/users', (req, res) => {
  res.json(users);  // Send users data as JSON response
});

// Start the server
app.listen(port, () => {
  console.log(Server running on http://localhost:${port});
});

Step 3: Run the server

In terminal, run:

node server.js
Step 4: Test the server

Open your browser and go to: 
http://localhost:3000/users

You should see:
[
  { "id": 1, "name": "Alice" },
  { "id": 2, "name": "Bob" }
]

What Did You Build?

- A simple server that _listens_ on port 3000 
- An _API endpoint_ /users that returns a list of users in JSON format 
- A basic back-end application that can be connected to a front-end

Why Is This Important?

- This is the foundation for building web apps that require user data, logins, content management, and more. 
- Understanding servers, APIs, and databases helps you build full-stack applications.

What’s Next?

- Add routes for other operations like adding (POST), updating (PUT), and deleting (DELETE) data. 
- Connect your server to a real database like MongoDB or MySQL. 
- Handle errors, validations, and security (authentication, authorization). 
- Learn to deploy your back-end app to the cloud (Heroku, AWS).

🎯 Pro Tip: Start simple and gradually add features. Try building a small app like a To-Do list with a back-end database.

@CodingCoursePro
Shared with Loveβž•
πŸ’¬ Tap ❀️ for more!
Please open Telegram to view this post
VIEW IN TELEGRAM
❀1
πŸ”° How to Generate a UUID in JavaScript?

A UUID (Universally Unique Identifier) is a 128-bit value used to uniquely identify something, like database records, session IDs, or API keys.

@CodingCoursePro
Shared with Loveβž•
Please open Telegram to view this post
VIEW IN TELEGRAM
Please open Telegram to view this post
VIEW IN TELEGRAM