Please open Telegram to view this post
VIEW IN TELEGRAM
Please open Telegram to view this post
VIEW IN 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β
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!
β 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
This media is not supported in your browser
VIEW IN TELEGRAM
π° Responsive Card with CSS Flexbox β¨
β
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!
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
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:
π‘ 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:
π‘ You can add CSS inside <style> tags, or link an external CSS file. In 2025, master Flexbox for layouts:
3οΈβ£ JavaScript
Purpose: Makes your site interactive β clicks, animations, data changes.
Think of it like the brain of the site.
Example:
π‘ When you click the button, it shows a popup. Level up with event listeners:
πΆ Mini Project Example
β 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!
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.
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
Please open Telegram to view this post
VIEW IN TELEGRAM
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):
Example (Media Query):
πΉ 2. CSS Frameworks
Why: Pre-built styles save time and help maintain consistency.
Bootstrap Example:
Tailwind CSS Example:
πΉ 3. JavaScript Libraries (jQuery Basics)
Why: Simplifies DOM manipulation and AJAX requests (still useful in legacy projects).
Example (Hide Element):
πΉ 4. Form Validation with JavaScript
Why: Ensure users enter correct data before submission.
Example:
πΉ 5. Dynamic DOM Manipulation
Why: Add interactivity (like toggling dark mode, modals, menus).
Dark Mode Example:
πΉ 6. Performance Optimization Tips
β¦ Compress images (use WebP)
β¦ Minify CSS/JS
β¦ Lazy load images
β¦ Use fewer fonts
β¦ Avoid blocking scripts in
π 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!
πΉ 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.
2οΈβ£ git status
Check what changes are untracked or modified.
3οΈβ£ git add
Add files to staging area (preparing them for commit).
4οΈβ£ git commit
Save the snapshot with a message.
5οΈβ£ git log
See the history of commits.
π Using GitHub
6οΈβ£ git remote add origin
Connect your local repo to GitHub.
7οΈβ£ git push
Push your local commits to GitHub.
8οΈβ£ git pull
Pull latest changes from GitHub.
π₯ Collaboration Basics
π Branching & Merging
π 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!
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:
Step 2: Create a file server.js
Step 3: Run the server
In terminal, run:
Step 4: Test the server
Open your browser and go to:
http://localhost:3000/users
You should see:
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!
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.jsStep 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