Skip to content
Information Technology

Web Development

"Hello World! Gusto mo gumawa ng website? Master tayo ang full stack - frontend to backend, lahat kailangan mo alam!"

1. What is Web Development? 🌐

Web Development ay ang proseso ng paglikha at pagpapanatili ng mga website at web applications. Binubuo ito ng frontend (kung ano ang nakikita ng users) at backend (ang nagtatrabaho behind the scenes).

Frontend Development

Ang nakikita ng user - HTML, CSS, JavaScript, React, Vue, Angular.

Backend Development

Behind the scenes - Node.js, Python, Java, databases, APIs.

2. Frontend Technologies 🎨

Technology Purpose Example
HTML Structure - tags para sa content <h1>, <p>, <div>
CSS Styling - colors, fonts, layout Flexbox, Grid, Responsive Design
JavaScript Interactivity - user actions Button clicks, form validation
React/Vue Frameworks - complex UIs Single Page Applications (SPA)

3. HTML: The Foundation 🏗️

HTML Structure

<!DOCTYPE html>
<html>
  <head>
    <title>Page Title</title>
  </head>
  <body>
    <h1>Heading</h1>
    <p>Paragraph</p>
    <a href="link">Link</a>
  </body>
</html>

Common HTML Tags

  • <h1> to <h6> - Headings
  • <p> - Paragraphs
  • <div> - Container
  • <form> - Form inputs

Semantic HTML5

  • <header> - Page header
  • <nav> - Navigation
  • <article> - Content
  • <footer> - Page footer

4. CSS: Styling 🎨

CSS Syntax

selector {
  property: value;
  property: value;
}

/* Example */
h1 {
  color: blue;
  font-size: 32px;
  text-align: center;
}
CSS Concept Purpose Example
Selectors Target HTML elements .class, #id, element
Box Model Margin, border, padding margin: 10px; padding: 5px;
Flexbox Flexible layouts display: flex;
Grid 2D grid layouts display: grid;

5. JavaScript: Making it Interactive 🧠

JavaScript Basics

// Variables
let name = "Techie";
const age = 25;

// Functions
function greet(name) {
  return "Hello, " + name;
}

// DOM manipulation
document.getElementById("btn").addEventListener("click", () => {
  alert("Button clicked!");
});

Core Concepts

  • Variables & Data Types
  • Functions & Callbacks
  • DOM Manipulation
  • Event Listeners
  • Promises & Async/Await

Common Uses

  • Form validation
  • Responsive menus
  • API calls
  • Real-time updates
  • Game development

6. Modern Frameworks & Tools 🛠️

Framework/Tool Purpose Best For
React Component-based UI library Single Page Apps (SPAs)
Vue.js Progressive framework Flexible, beginner-friendly
Node.js JavaScript runtime Backend development
npm/Webpack Package & module bundlers Dependency management

7. Web Development Workflow 🔄

Typical Development Process

  1. Planning: Sketch wireframes, plan features
  2. Frontend: HTML structure, CSS styling, JavaScript logic
  3. Backend: Databases, APIs, server logic
  4. Testing: Unit tests, integration tests, user testing
  5. Deployment: Push to servers (Vercel, Netlify, AWS)
  6. Maintenance: Bug fixes, updates, monitoring

8. Best Practices 💡

Frontend Best Practices

  • Responsive design (mobile-first)
  • Semantic HTML
  • Clean, DRY CSS
  • Performance optimization
  • Accessibility (a11y)

Backend Best Practices

  • RESTful API design
  • Security (authentication)
  • Database optimization
  • Error handling
  • Code documentation

9. Practice Questions 📚

Common Exam & Interview Questions

Q1: What's the difference between frontend and backend development?

A: Frontend = what users see (HTML/CSS/JS), Backend = server-side logic, databases, APIs

Q2: Explain the CSS Box Model.

A: Content → Padding → Border → Margin. These create spacing around elements.

Q3: What is a single-page application (SPA)?

A: A web app that loads once and dynamically updates content without full page reloads (React, Vue).

Q4: How do you make a website responsive?

A: Use media queries, flexbox/grid, mobile-first design, and relative units (%, rem).

Q5: What's the purpose of npm?

A: Node Package Manager - manages dependencies, scripts, and packages for JavaScript projects.

Q6: Explain async/await in JavaScript.

A: Async/await simplifies promise handling - async declares function returns promise, await pauses until resolved.

🔥 Techie Challenge 🔥

Build a simple website: Create an HTML page with CSS styling at responsive layout, add JavaScript na mag-handle ng user interactions.

Code mode activated! Compile your knowledge sa practice questions.

Test Your Knowledge! 🧠

Ready ka na ba? Take the practice quiz for Web Development to reinforce what you just learned.

Start Practice Quiz 📝

📚 More from Information Technology