π What is Web Development?
Web development means creating websites and web applications.
Every website you visit β Google, Facebook, online shops, blogs β is made by web developers.
Web development mainly has three parts:
- Frontend (what we see)
- Backend (the brain of the website)
- Database (where information is stored)
π¨ Frontend β What Users See
The frontend is everything you see on a website:
- Text
- Buttons
- Images
- Forms
- Menus
Frontend is built using:
- HTML β structure of the page
- CSS β styling, colors, layout
- JavaScript β controls actions and interactions
Popular frontend frameworks:
- React
- Next.js
- Angular
- Vue.js
π§ Backend β The Brain
The backend is like the brain of a website.
Users do not see it, but it controls everything.
Backend does things like:
- Login and sign-up systems
- Saving form data
- Connecting to the database
- Processing payments
- Sending emails
Popular backend languages:
- Node.js
- Python
- PHP
- Java
- Ruby
Popular backend frameworks:
- Express (Node.js)
- Django (Python)
- Laravel (PHP)
ποΈ Database β Where Data Lives
A database stores information so it can be used later.
Examples of stored data:
- User accounts
- Messages
- Orders
- Product details
- Business records
Two main types of databases:
1. SQL (Structured)
- MySQL
- PostgreSQL
- SQL Server
2. NoSQL (Flexible)
π How Frontend, Backend & Database Work Together
User's Browser
β
βΌ
Frontend (HTML/CSS/JS or Next.js)
β Sends request
βΌ
Backend (Node.js / Express)
β Reads & writes data
βΌ
Database (MongoDB / SQL)
β Sends data back
βΌ
Backend
β Sends results
βΌ
Frontend (shows to user)
π§ What is an API?
API stands for Application Programming Interface.
It acts like a messenger between the frontend and backend.
- Frontend sends request
- Backend checks database
- API sends response back
πΈοΈ Hosting & Deployment
Hosting means putting your website on a server so people can access it online.
π± Summary for Complete Beginners
- Frontend = What users see
- Backend = Logic behind the scenes
- Database = Stores data
- Hosting = Making your app live
- API = Connects frontend and backend
π Quick Quiz β Check Your Understanding