Course Content
Complete Web Designing Course for Beginners

⚔️ Lesson F4 – Frontend vs Backend Development

🌐 Understanding the Two Main Parts of Every Website


🎯 Learning Objectives

After completing this lesson, students will be able to:

✅ Understand Frontend Development

✅ Understand Backend Development

✅ Differentiate between Frontend and Backend

✅ Identify technologies used in Frontend

✅ Identify technologies used in Backend

✅ Understand how Frontend and Backend work together

✅ Choose a future learning path in web development


📖 Introduction

Whenever you open a website like:

  • Google
  • YouTube
  • Facebook
  • Amazon
  • Instagram

you only see the visible part of the website.

For example:

On YouTube you see:

  • Videos
  • Search Bar
  • Buttons
  • Menus
  • Comments
  • Images

But have you ever thought:

🤔 Where are videos stored?

🤔 How does login work?

🤔 How are comments saved?

🤔 How does YouTube know which video to show?

The answer is:

Every website has two major parts:

🎨 Frontend

and

⚙️ Backend

Understanding these two concepts is one of the most important topics in web development.


🏠 Real Life Example

Imagine a restaurant.

When you visit a restaurant, you see:

  • Tables
  • Chairs
  • Decoration
  • Menu Card
  • Waiters

This is the visible part.

Behind the scenes there is:

  • Kitchen
  • Chefs
  • Storage Room
  • Billing System

This is the hidden part.


Restaurant Comparison

Visible Part = Frontend

Hidden Working Part = Backend


Websites work in exactly the same way.


🎨 What is Frontend Development?

Frontend is the part of a website that users can see and interact with.

It is also called:

Client Side

because it runs in the user’s browser.


Everything You See Is Frontend

Examples:

Website Logo

Navigation Menu

Images

Buttons

Forms

Text

Videos

Colors

Layout

Animations

All of these belong to the Frontend.


💡 Simple Definition

Frontend Development is the process of creating the visual and interactive part of a website that users can see and use.


🎯 Goal of Frontend Development

Frontend developers focus on:

✅ Appearance

✅ User Experience

✅ Layout

✅ Responsiveness

✅ Interactivity


🛠️ Technologies Used in Frontend

Every frontend developer must learn:


HTML

HTML creates website structure.

Example:

 
<h1>Welcome</h1>
<p>This is a website.</p>
 

HTML creates:

  • Headings
  • Paragraphs
  • Images
  • Tables
  • Forms

Think of HTML as:

🏗️ Skeleton of a Website


CSS

CSS provides beauty and design.

Example:

 
h1{
color:blue;
}
 

CSS controls:

  • Colors
  • Fonts
  • Layouts
  • Animations
  • Responsive Design

Think of CSS as:

🎨 Decoration of a Website


JavaScript

JavaScript adds functionality.

Example:

 
alert("Welcome");
 

JavaScript controls:

  • Buttons
  • Menus
  • Forms
  • Sliders
  • Calculators

Think of JavaScript as:

⚡ Brain of the Frontend


🖥️ Example of Frontend Components

Consider a Login Page.

Frontend includes:

  • Username Box
  • Password Box
  • Login Button
  • Colors
  • Layout

Everything visible belongs to Frontend.


⚙️ What is Backend Development?

Backend is the hidden part of a website.

Users cannot see it.

Backend works behind the scenes.


💡 Simple Definition

Backend Development is responsible for processing data, storing information, and handling website functionality.


🎯 Goal of Backend Development

Backend handles:

✅ Login System

✅ Registration

✅ Databases

✅ Data Processing

✅ Security

✅ Payment Systems

✅ Server Operations


🏦 Example

Suppose you login to Facebook.

You enter:

 
Username: Rahul

Password: 123456
 

After clicking Login:

The backend checks:

  • Is username correct?
  • Is password correct?

If correct:

✅ Login Success

If incorrect:

❌ Login Failed

This checking process happens in Backend.


📦 What Happens Inside Backend?

Backend performs:

Data Storage

Stores information.

Example:

  • User Accounts
  • Orders
  • Comments

Data Retrieval

Fetches information.

Example:

When searching videos on YouTube.


Data Processing

Processes user requests.

Example:

Calculating shopping cart totals.


Authentication

Verifies users.

Example:

Login systems.


Security

Protects user information.

Example:

Online Banking.


🛠️ Technologies Used in Backend

Popular backend technologies include:


PHP

Used in many websites.

Examples:

  • WordPress Websites

Python

Popular for modern applications.

Examples:

  • AI Websites
  • Data Applications

Java

Used by large organizations.

Examples:

  • Banking Systems

Node.js

Uses JavaScript on servers.

Popular for modern web applications.


C#

Used with Microsoft technologies.


🗄️ What is a Database?

A database stores website information.

Examples:

  • User Accounts
  • Passwords
  • Orders
  • Products
  • Messages

🏠 Real Life Example

Think of a school.

School Office stores:

  • Student Names
  • Roll Numbers
  • Marks

This storage area acts like a database.

Similarly:

Websites store information inside databases.


🎯 Popular Databases

Examples:

  • MySQL
  • PostgreSQL
  • MongoDB
  • SQL Server

🌐 How Frontend and Backend Work Together

Let’s understand using a Login System.


Step 1

User enters:

 
Username

Password
 

Frontend displays the form.


Step 2

User clicks Login.

Frontend sends request.


Step 3

Backend receives request.


Step 4

Backend checks database.


Step 5

Backend sends response.


Step 6

Frontend displays result.

Example:

 
Login Successful
 

or

 
Invalid Password
 

🔄 Complete Communication Flow

 
User



Frontend



Backend



Database



Backend



Frontend



User
 

This process happens within seconds.


📱 Example: Amazon Website

Frontend

Visible:

  • Product Images
  • Search Bar
  • Add to Cart Button
  • Product Information

Backend

Hidden:

  • Product Database
  • Order Processing
  • Payment Processing
  • Customer Accounts

📺 Example: YouTube

Frontend

Visible:

  • Videos
  • Thumbnails
  • Search Bar
  • Comments

Backend

Hidden:

  • Video Storage
  • User Data
  • Recommendations
  • Analytics

⚔️ Frontend vs Backend Comparison

Feature Frontend Backend
Visibility Visible to Users Hidden from Users
Runs On Browser Server
Purpose Appearance & Interaction Functionality & Data
Technologies HTML, CSS, JavaScript PHP, Python, Node.js, Java
User Interaction Direct Indirect
Focus Design & Experience Logic & Processing

🚀 Which Should You Learn First?

For beginners:

The correct order is:

Step 1

HTML

Step 2

CSS

Step 3

JavaScript

Step 4

Frontend Projects

Step 5

Backend Development


🎯 Why We Are Starting With Frontend

This course focuses on:

✅ Web Designing

✅ Frontend Development

Because beginners can immediately see results.

When you write code:

You instantly see:

  • Colors
  • Layouts
  • Buttons
  • Websites

This makes learning fun and easy.


💼 Career Opportunities

After learning Frontend:

You can become:

Frontend Developer

Web Designer

UI Designer

UX Designer

Freelancer

Website Creator


After learning Backend:

You can become:

Backend Developer

Full Stack Developer

Software Engineer

Web Application Developer


📝 Practical Activity

Open any website.

Examples:

  • Amazon
  • YouTube
  • Facebook
  • Your College Website

Identify:

Frontend Components

  • Images
  • Buttons
  • Navigation Bar
  • Text

Backend Components

  • Login System
  • Search System
  • Database
  • User Accounts

Write your observations.


📋 Assignment

Assignment F4

Answer the following:

  1. What is Frontend Development?
  2. What is Backend Development?
  3. Name three Frontend technologies.
  4. Name three Backend technologies.
  5. What is a Database?
  6. Explain how login works using Frontend and Backend.
  7. Which part is visible to users?

🧠 Quiz

Q1. Which part of a website is visible to users?

A. Backend

B. Database

C. Frontend

D. Server

✅ Answer: C


Q2. Which technology is used for styling websites?

A. Python

B. CSS

C. PHP

D. MySQL

✅ Answer: B


Q3. Where does Backend run?

A. Browser

B. Server

C. Monitor

D. Keyboard

✅ Answer: B


Q4. Which stores website information?

A. HTML

B. CSS

C. Database

D. Browser

✅ Answer: C


Q5. Which technology creates website structure?

A. HTML

B. Python

C. SQL

D. Java

✅ Answer: A


📌 Lesson Summary

✅ Every website consists of Frontend and Backend.

✅ Frontend is the visible part of a website.

✅ Backend is the hidden part that processes data.

✅ HTML creates structure.

✅ CSS creates design.

✅ JavaScript creates interaction.

✅ Databases store information.

✅ Frontend and Backend work together to create modern websites.

✅ Beginners should learn Frontend first.

Scroll to Top