Web Development Documentation

Mentor:

Amruta Koparkar & Devanshi Ingole

HTML Basics

Introduction to HTML

HTML (HyperText Markup Language) is the foundation of web development. It provides the structure and content of web pages through a system of tags and attributes.

Document Structure

Every HTML document follows a basic structure with html, head, and body tags defining the overall framework.

Text Elements

HTML provides various text elements like headings, paragraphs, and formatting tags to organize content.

Semantic HTML

Using semantic elements like header, footer, and article improves accessibility and SEO.

Code Example

<!-- Basic HTML Structure -->
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>Page Title</title>
</head>
<body>
  <h1>My First Heading</h1>
  <p>My first paragraph.</p>
</body>
</html>

CSS Introduction

Styling Web Pages

CSS (Cascading Style Sheets) is used to control the presentation and layout of web pages, separating content from design.

Selectors & Properties

CSS uses selectors to target HTML elements and properties to define their visual presentation.

Box Model

Every element is represented as a rectangular box with content, padding, border, and margin areas.

Colors & Typography

CSS provides extensive control over colors, fonts, and text properties to create visually appealing designs.

Box Model & Layout

Understanding Layout

The CSS Box Model is fundamental to understanding how elements are sized and spaced on a web page.

Box Properties

Content, padding, border, and margin properties control an element's dimensions and spacing.

Flexbox

A one-dimensional layout model that distributes space and aligns items efficiently.

CSS Grid

A two-dimensional layout system for creating complex responsive web design layouts.

Responsive Design

Adaptive Layouts

Responsive web design ensures that web pages render well on a variety of devices and window sizes.

Media Queries

CSS techniques that apply different styles based on device characteristics like screen width.

Mobile-First

Design approach that starts with mobile devices as the primary design consideration.

Flexible Units

Using relative units like %, em, rem, vw, and vh instead of fixed pixel values.

JavaScript Basics

Adding Interactivity

JavaScript is a programming language that enables dynamic content updates, interactive elements, and complex functionality.

Variables & Data Types

Storing and manipulating data using variables with different data types like strings, numbers, and booleans.

Functions & Control Flow

Creating reusable code blocks with functions and controlling program execution with conditionals and loops.

DOM Manipulation

Using JavaScript to interact with and modify the Document Object Model (DOM) of a web page.

Final Project

Portfolio Website

The culmination of web development skills into a practical, functional, and responsive portfolio website.

Planning & Design

Creating wireframes and mockups to plan the structure and visual design of the portfolio.

Implementation

Building the website with HTML, CSS, and JavaScript according to the design specifications.

Responsive Testing

Ensuring the website works correctly on various devices and screen sizes through testing.

Back to FABLAB Modules