⬆️
Chapter 0: Getting Started

🔰 Introduction to HTML

Learn the fundamentals of HTML - the building block of the web

📌 What is HTML?

🔤 Full Form

Hyper Text Markup Language - It's a markup language, not a programming language!

🏗️ Foundation

It is the foundation of every website on the internet - like the skeleton of a human body.

📐 Structure

Used to define the structure and layout of web pages using elements and tags.

📝 Key Point: With proper understanding of HTML tags and their structure, you can build powerful and beautiful websites.

📄 Basic HTML Structure

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>My First Page</title>
</head>
<body>
    <h1>Hello, World!</h1>
    <p>This is my first HTML page.</p>
</body>
</html>
💡 Tip: Every HTML document starts with <!DOCTYPE html> declaration. It tells the browser this is an HTML5 document.

🎯 Why Do We Need CSS and JavaScript?

Layer Purpose Example
HTML Defines the structure of a webpage (skeleton) <h1>Title</h1>
CSS Adds style and presentation (color, layout, design) h1 { color: blue; }
JavaScript Adds logic and interactivity (buttons, sliders, etc.) button.onclick = showMessage;

🎨 Live Example: See All Three Layers

This heading is HTML

This paragraph is styled with CSS (blue color, bold)

⬆️ This button uses JavaScript to show an alert

🚗 Beautiful Analogy

🏭 HTML

Car body (metal frame)

The basic structure that holds everything together

🎨 CSS

Paint, seat covers, lights (design)

Makes it look beautiful and appealing

⚙️ JavaScript

Engine, gear system, sensors (functionality)

Makes it move and respond to user actions

🚗 Interactive Car Demo

Click buttons to see how HTML, CSS, and JavaScript work together

Click a button to see car analogy in action!

💻 Installing VS Code

📥 Download

Install from: code.visualstudio.com

Free, lightweight, and powerful

✨ Features

  • Syntax highlighting
  • Live Server
  • Extensions
  • Integrated terminal

📝 Note

HTML can be written in Notepad too, but VS Code provides a richer experience with features like auto-completion and debugging.

⌨️ Useful VS Code Shortcuts:

  • ! + Tab → HTML template
  • Ctrl + / → Comment line
  • Alt + Shift + ↓ → Copy line down
  • Ctrl + Shift + P → Command palette

⚡ JavaScript Interactive Demo

Click the button to see JavaScript in action!

This demonstrates how JavaScript adds interactivity to web pages - exactly like the car's engine makes it move!

Click the button to see magic! ✨

🎲 Random Fact Generator

Click to see a random fact!

✅ Practice Questions On Chapter 0

💡 Hint: Try to answer these questions yourself. If stuck, refer back to the examples above!