Web Development
Learn Web Development From Scratch 0️⃣ HTML / CSS 1️⃣ JavaScript 2️⃣ React / Vue / Angular 3️⃣ Node.js / Express 4️⃣ REST API 5️⃣ SQL / NoSQL Databases 6️⃣ UI / UX Design 7️⃣ Git / GitHub Admin: @love_data
Show more📈 Analytical overview of Telegram channel Web Development
Channel Web Development (@webdevcoursefree) in the English language segment is an active participant. Currently, the community unites 79 162 subscribers, ranking 1 627 in the Technologies & Applications category and 3 712 in the India region.
📊 Audience metrics and dynamics
Since its creation on невідомо, the project has demonstrated rapid growth, gathering an audience of 79 162 subscribers.
According to the latest data from 14 November, 2026, the channel demonstrates stable activity. Although there has been a change in the number of participants by -488 over the last 30 days and by -24 over the last 24 hours, overall reach remains high.
- Verification status: Not verified
- Engagement rate (ER): The average audience engagement rate is 2.33%. Within the first 24 hours after publication, content typically collects 1.06% reactions from the total number of subscribers.
- Post reach: On average, each post receives 1 845 views. Within the first day, a publication typically gains 837 views.
- Reactions and interaction: The audience actively supports content: the average number of reactions per post is 8.
- Thematic interests: Content is focused on key topics such as html, css, javascript, github, git.
📝 Description and content policy
The author describes the resource as a platform for expressing subjective opinions:
“Learn Web Development From Scratch
0️⃣ HTML / CSS
1️⃣ JavaScript
2️⃣ React / Vue / Angular
3️⃣ Node.js / Express
4️⃣ REST API
5️⃣ SQL / NoSQL Databases
6️⃣ UI / UX Design
7️⃣ Git / GitHub
Admin: @love_data”
Thanks to the high frequency of updates (latest data received on 15 November, 2026), the channel maintains relevance and a high level of publication reach. Analytics show that the audience actively interacts with content, making it an important point of influence in the Technologies & Applications category.
z-indexcontrols the stacking order of overlapping elements. An element with a higher stacking level generally appears in front of one with a lower stacking level, when they belong to the same stacking context.
<div class="box box1">Box 1</div>
<div class="box box2">Box 2</div>
.box {
position: absolute;
width: 150px;
height: 150px;
}
.box1 {
background-color: blue;
z-index: 1;
}
.box2 {
background-color: red;
left: 50px;
top: 50px;
z-index: 2;
}
Here, Box 2 appears in front of Box 1 where they overlap.
8. CSS Position Comparison
• static: Normal document flow
• relative: Moves relative to original position
• absolute: Positioned relative to nearest positioned ancestor
• fixed: Positioned relative to viewport
• sticky: Sticks after reaching a scroll threshold
9. Real-World Example: Product Image Badge
HTML:
<div class="product">
<span class="badge">SALE</span>
<img src="product.jpg" alt="Product">
<h2>Wireless Headphones</h2>
<p>Price: ₹2,499</p>
</div>
CSS:
.product {
position: relative;
width: 300px;
}
.product img {
width: 100%;
}
.badge {
position: absolute;
top: 10px;
right: 10px;
background-color: red;
color: white;
padding: 8px 12px;
border-radius: 5px;
}
The SALE badge appears in the top-right corner of the product image.
Double Tap ❤️ For Morez-index controls the stacking order of overlapping elements.
An element with a higher stacking level generally appears in front of one with a lower stacking level, when they belong to the same stacking context.
<div class="box box1">Box 1</div>
<div class="box box2">Box 2</div>
.box {
position: absolute;
width: 150px;
height: 150px;
}
.box1 {
background-color: blue;
z-index: 1;
}
.box2 {
background-color: red;
left: 50px;
top: 50px;
z-index: 2;
}
Here, Box 2 appears in front of Box 1 where they overlap.
8. CSS Position Comparison
• static: Normal document flow
• relative: Moves relative to original position
• absolute: Positioned relative to nearest positioned ancestor
• fixed: Positioned relative to viewport
• sticky: Sticks after reaching a scroll threshold
9. Real-World Example: Product Image Badge
HTML:
<div class="product">
<span class="badge">SALE</span>
<img src="product.jpg" alt="Product">
<h2>Wireless Headphones</h2>
<p>Price: ₹2,499</p>
</div>
CSS:
.product {
position: relative;
width: 300px;
}
.product img {
width: 100%;
}
.badge {
position: absolute;
top: 10px;
right: 10px;
background-color: red;
color: white;
padding: 8px 12px;
border-radius: 5px;
}
The SALE badge appears in the top-right corner of the product image.
Double Tap ❤️ For More
-----
1.38 ₽ · /balance_helpstatic
• relative
• absolute
• fixed
• sticky
1. Position: Static
static is the default positioning behavior of HTML elements.
Elements appear in the normal document flow.
.box {
position: static;
}
Important points:
• Elements follow the normal page layout.
• They appear one after another according to the document structure.
• top, right, bottom, and left do not reposition a static element.
2. Position: Relative
relative positions an element relative to its original position.
<div class="box">Hello World</div>
.box {
position: relative;
top: 20px;
left: 30px;
}
What happens?
• The element moves 20px down.
• The element moves 30px to the right.
• Its original space in the document flow remains reserved.
Real-world use: Making small adjustments to an element or creating a positioning reference for an absolutely positioned child.
3. Position: Absolute
absolute positions an element relative to its nearest positioned ancestor.
A positioned ancestor means an ancestor whose position is not static.
Example:
<div class="parent">
<div class="child">Hello</div>
</div>
.parent {
position: relative;
width: 300px;
height: 200px;
background-color: lightblue;
}
.child {
position: absolute;
top: 10px;
right: 10px;
background-color: orange;
}
Here:
• The parent acts as the positioning reference.
• The child appears 10px from the parent's top and right edges.
• The child is removed from the normal document flow.
Real-world use: Badges on product images, notification labels, and icons inside input fields.
4. Position: Fixed
fixed positions an element relative to the viewport.
It generally stays in the same position even when the user scrolls the webpage.
.chat-button {
position: fixed;
bottom: 20px;
right: 20px;
background-color: blue;
color: white;
padding: 15px;
}
Real-world use:
• Floating chat buttons
• Back-to-top buttons
• Fixed action buttons
5. Position: Sticky
sticky combines normal document flow with fixed-like behavior.
The element behaves normally until it reaches a specified scroll position, then sticks within its scrolling container.
nav {
position: sticky;
top: 0;
background-color: navy;
color: white;
}
Here, the navigation bar sticks to the top when the page is scrolled to it.
Common uses:
• Sticky navigation bars
• Table headers
• Section headings
6. Understanding Top, Right, Bottom & Left
These properties control the position of an element when used with a positioning mode that supports offsets.
.box {
position: absolute;
top: 20px;
right: 30px;
bottom: 10px;
left: 40px;
}input:focus {
outline: 2px solid blue;
}
This makes the focused input easier to identify.
5. CSS Box Shadow
The box-shadow property adds a shadow around an element.
.card {
width: 250px;
padding: 20px;
background-color: white;
box-shadow: 5px 5px 10px gray;
}
The basic syntax:
box-shadow: horizontal vertical blur spread color;
Understanding the values:
• Horizontal, Moves the shadow left or right.
• Vertical, Moves the shadow up or down.
• Blur, Controls how blurry the shadow appears.
• Spread, Controls the shadow's size.
• Color, Defines the shadow color.
.card {
box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.2);
}
6. Inset Box Shadow
An inset shadow appears inside the element rather than outside it.
.box {
box-shadow: inset 0 0 10px gray;
}
This can create an inner-depth effect.
7. Multiple Shadows
You can apply more than one shadow to an element.
.card {
box-shadow:
0 4px 8px rgba(0, 0, 0, 0.15),
0 10px 20px rgba(0, 0, 0, 0.10);
}
This creates a layered shadow effect.
8. Real-World Example: Modern Product Card
HTML:
<div class="product-card">
<h2>Wireless Headphones</h2>
<p>Price: ₹2,499</p>
<button>Buy Now</button>
</div>
CSS:
.product-card {
width: 300px;
padding: 20px;
border: 1px solid #ddd;
border-radius: 12px;
background-color: white;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
button {
padding: 10px 20px;
border: none;
border-radius: 6px;
background-color: blue;
color: white;
cursor: pointer;
}
This creates a clean product card with rounded corners and a subtle shadow.
Double Tap ❤️ For More
-----
1.24 ₽ · /balance_help.box {
border: 2px solid black;
}
A border has three main components:
• Width, Thickness of the border.
• Style, Appearance of the border.
• Color, Border color.
You can also define them separately:
.box {
border-width: 2px;
border-style: solid;
border-color: blue;
}
Common border styles:
border-style: solid;
border-style: dashed;
border-style: dotted;
border-style: double;
border-style: groove;
border-style: ridge;
border-style: none;
2. Individual Border Properties
You can apply borders to specific sides of an element.
.box {
border-top: 2px solid red;
border-right: 2px solid blue;
border-bottom: 2px solid green;
border-left: 2px solid orange;
}
This gives each side a different border.
You can also use:
.box {
border-bottom: 3px solid black;
}
This adds a border only to the bottom.
3. Border Radius
The border-radius property creates rounded corners.
.box {
border: 2px solid black;
border-radius: 10px;
}
Common examples:
/* Slightly rounded */
.box1 {
border-radius: 5px;
}
/* More rounded */
.box2 {
border-radius: 20px;
}
/* Circular shape for a square element */
.box3 {
border-radius: 50%;
}
You can also round individual corners:
.box {
border-top-left-radius: 10px;
border-top-right-radius: 20px;
border-bottom-left-radius: 5px;
border-bottom-right-radius: 15px;
}
4. CSS Outline
An outline is a line drawn outside an element's border.
.box {
border: 2px solid black;
outline: 3px solid red;
}
Border vs Outline:height property defines the height of an element.
.box {
width: 300px;
height: 150px;
background-color: lightgreen;
}
Here:
• Width = 300px
• Height = 150px
You can also use relative units:
.hero {
height: 100vh;
}
This makes the hero section as tall as the viewport.
3. Min-Width
min-width defines the minimum width an element can have.
.box {
width: 50%;
min-width: 250px;
}
Even if the available space becomes smaller, the element won't shrink below 250px.
4. Max-Width
max-width defines the maximum width an element can have.
.container {
width: 100%;
max-width: 1200px;
margin: auto;
}
This is commonly used to prevent content from becoming excessively wide on large screens.
5. Min-Height and Max-Height
These properties control the minimum and maximum height of an element.
.box {
min-height: 100px;
max-height: 300px;
}
• min-height: The element cannot become shorter than 100px.
• max-height: The element cannot become taller than 300px.
6. What Is Overflow?
Overflow happens when the content inside an element is larger than the available space.
Example:
.box {
width: 200px;
height: 100px;
overflow: hidden;
}
If the content exceeds the box dimensions, some content will be clipped.
7. Types of Overflow
A. overflow: visible
This is the default behavior.
Content can appear outside the element's boundaries.
.box {
overflow: visible;
}
B. overflow: hidden
Extra content is clipped and not displayed.
.box {
overflow: hidden;
}
C. overflow: scroll
Displays scrollbars so users can access overflowing content.
.box {
overflow: scroll;
}
D. overflow: auto
The browser provides scrolling when necessary.
.box {
overflow: auto;
}
8. Overflow-X and Overflow-Y
You can control horizontal and vertical overflow separately.
.box {
overflow-x: auto;
overflow-y: hidden;
}
• overflow-x: Controls horizontal overflow.
• overflow-y: Controls vertical overflow.
Useful for horizontally scrollable menus, tables, and content areas.
9. Real-World Example: Responsive Card
HTML:
<div class="card">
<h2>Learn Web Development</h2>
<p>
Learn HTML, CSS and JavaScript
to build modern websites.
</p>
</div>
CSS:
.card {
width: 100%;
max-width: 400px;
min-height: 200px;
padding: 20px;
margin: auto;
background-color: lightblue;
border-radius: 10px;
overflow: auto;
}
`
This creates a card that:
• Uses available width.
• Never exceeds 400px.
• Has a minimum height of 200px.
• Allows scrolling if its content overflows.
10. Quick Revision
• width: Sets element width
• height: Sets element height
• min-width: Sets minimum width
• max-width: Sets maximum width
• min-height: Sets minimum height
• max-height: Sets maximum height
• overflow: Controls overflowing content
• overflow-x: Controls horizontal overflow
• overflow-y: Controls vertical overflow
Key Takeaway
• Use width and height to define dimensions.
• Use min-width and max-width to control flexible sizing.
• Use min-height and max-height to control vertical dimensions.
• Use overflow when content doesn't fit inside its container.<div class="card">
<h2>Laptop</h2>
<p>Price: ₹50,000</p>
<button>Buy Now</button>
</div>
CSS:
* {
box-sizing: border-box;
}
.card {
width: 300px;
padding: 20px;
margin: 20px;
border: 2px solid gray;
border-radius: 10px;
}
button {
padding: 10px 20px;
border: none;
background-color: blue;
color: white;
}
Here:
• Width controls the card's size.
• Padding creates inner spacing.
• Border creates an outline.
• Margin creates outer spacing.
• Border radius rounds the corners.
8. Quick Revision
• content: Actual element content
• padding: Space inside the border
• border: Line around the element
• margin: Space outside the border
• box-sizing: Controls size calculation
• border-radius: Rounds the corners
Key Takeaway
Remember this simple rule:
• Content = What is inside?
• Padding = How much inner space?
• Border = What surrounds it?
• Margin = How much outer space?
Understanding the Box Model will help you control spacing, dimensions, and layouts when designing professional websites.
Double Tap ❤️ For More<div class="box">
Hello World
</div>
.box {
width: 200px;
height: 100px;
}
Here, the content area has a width of 200px and a height of 100px.
2. Padding
Padding is the space between the content and the border.
Think of it as the inner spacing of an element.
.box {
padding: 20px;
}
This adds 20px of space around the content, inside the border.
You can also control individual sides:
.box {
padding-top: 10px;
padding-right: 20px;
padding-bottom: 10px;
padding-left: 20px;
}
Shorthand:
.box {
padding: 10px 20px;
}
This means:
• Top and bottom: 10px
• Left and right: 20px
3. Border
A border is the line surrounding the content and padding.
.box {
border: 2px solid black;
}
A border has three important parts:
border-width → Thickness
border-style → Appearance
border-color → Color
Common border styles:
• solid
• dashed
• dotted
• double
• none
.box {
border-width: 2px;
border-style: dashed;
border-color: blue;
}
You can also create rounded corners:
.box {
border-radius: 10px;
}
4. Margin
Margin is the space outside the border.
It creates distance between an element and other elements.
.box {
margin: 20px;
}
This adds 20px of outer spacing around the element.
Individual sides:
.box {
margin-top: 10px;
margin-right: 20px;
margin-bottom: 10px;
margin-left: 20px;
}
Understanding the Complete Box Model
!Box Model Demystified: Margin, Border, Padding & Content - Euron Daily | Euron Community (https://images.openai.com/static-rsc-4/6QJcx04vBL9VuPb5kAm42ecvX0rwhhY6hbJ2wCXzsWp7qVEOFFzO5qpDH8ddAuR402U1Elwak6mv71o_MeVh_LagfLO16F2oQQtq74fIFPDo3SvJTRKz9Zt2LD4AZmdZDmSDpMr2NOhKUkD6oKj4jRKEu91aVGc9KYwmwZF8iwwPPppNylNX2OKr7jcMX7ta?purpose=fullsize)
Remember the order:
OUTSIDE
┌──────────────────────────┐
│ MARGIN │
│ ┌────────────────────┐ │
│ │ BORDER │ │
│ │ ┌──────────────┐ │ │
│ │ │ PADDING │ │ │
│ │ │ ┌────────┐ │ │ │
│ │ │ │CONTENT │ │ │ │
│ │ │ └────────┘ │ │ │
│ │ └──────────────┘ │ │
│ └────────────────────┘ │
└──────────────────────────┘
5. Understanding Box Size Calculation
By default, CSS uses content-box.
Consider this example:
.box {
width: 200px;
padding: 20px;
border: 5px solid black;
margin: 10px;
}
The total width is calculated as:
• Content: 200px
• Left and right padding: 40px
• Left and right border: 10px
• Left and right margin: 20px
• Total space: 270px
So, the element occupies 270px of horizontal space, including its margins.
6. What Is box-sizing?
The box-sizing property controls how the browser calculates an element's dimensions.
There are two commonly used values:
A. content-box
This is the default value.
The specified width applies only to the content.
.box {
width: 200px;
padding: 20px;
border: 5px solid black;
box-sizing: content-box;
}
Total width excluding margin = 250px.
B. border-box
With border-box, the specified width includes content, padding, and border.
.box {
width: 200px;
padding: 20px;
border: 5px solid black;
box-sizing: border-box;
}
Total width excluding margin = 200px.
Many developers use this globally:
* {
box-sizing: border-box;
}
This makes sizing and layout calculations easier.font-family property defines which font is displayed.
h1 {
font-family: Arial, sans-serif;
}
p {
font-family: Georgia, serif;
}
Common font families:
• Arial
• Times New Roman
• Georgia
• Verdana
• Courier New
• Tahoma
You can also provide fallback fonts:
body {
font-family: Arial, Helvetica, sans-serif;
}
If the first font isn't available, the browser tries the next one.
2. font-size
Controls the size of the text.
h1 {
font-size: 32px;
}
p {
font-size: 18px;
}
You can use different units such as px, em, and rem.
3. font-weight
Controls how thick or bold the text appears.
h1 {
font-weight: bold;
}
p {
font-weight: normal;
}
Common values:
+-------+------------+ | Value | Meaning | +-------+------------+ | 100 | Thin | | 300 | Light | | 400 | Normal | | 500 | Medium | | 600 | Semi-bold | | 700 | Bold | | 900 | Extra bold | +-------+------------+The availability of each weight depends on the font. 4. font-style Controls whether text appears normal, italic, or oblique.
p {
font-style: italic;
}
Common values:
• normal
• italic
• oblique
5. text-align
Controls the horizontal alignment of text.
h1 {
text-align: center;
}
Common values:
text-align: left;
text-align: right;
text-align: center;
text-align: justify;
6. text-decoration
Adds or removes decorative lines from text.
h1 {
text-decoration: underline;
}
Common values:
• underline – Line below text
• overline – Line above text
• line-through – Line through text
• none – Removes decoration
Example:
a {
text-decoration: none;
}
This is commonly used to remove the default underline from links.
7. text-transform
Controls the capitalization of text.
.uppercase {
text-transform: uppercase;
}
.lowercase {
text-transform: lowercase;
}
.capitalize {
text-transform: capitalize;
}
For example, hello world becomes:
• Uppercase: HELLO WORLD
• Lowercase: hello world
• Capitalize: Hello World
8. line-height
Controls the vertical space between lines of text.
p {
line-height: 1.6;
}
A suitable line height makes paragraphs easier to read.
9. letter-spacing
Controls the spacing between individual characters.
h1 {
letter-spacing: 2px;
}
10. word-spacing
Controls the spacing between words.
p {
word-spacing: 5px;
}
11. text-indent
Adds indentation to the first line of a paragraph.
p {
text-indent: 30px;
}
12. Google Fonts
Google Fonts provides a large collection of fonts that you can use in websites.
For example, you can use the Roboto font.
Add this inside the HTML <head>:
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap" rel="stylesheet">
Then apply it using CSS:
body {
font-family: "Roboto", sans-serif;
}
13. Real-World Example
Let's design a simple heading and paragraph.
HTML:
<div class="content">
<h1>Learn Web Development</h1>
<p>
Start your journey with HTML, CSS and JavaScript.
</p>
</div>
CSS:
.content {
font-family: Arial, sans-serif;
text-align: center;
}
h1 {
font-size: 32px;
font-weight: 700;
color: blue;
letter-spacing: 1px;
}
p {
font-size: 18px;
line-height: 1.6;
color: gray;
}
This creates a clean heading and readable paragraph.
Double Tap ❤️ For Part-29