Homepage track

Stage 2 of 5

Stage 2: Frontend Fundamentals

The core web languages in depth: semantic HTML, modern CSS layout, and practical JavaScript.

21 lessons3 subjectsFree · self-paced
Start lesson 1

What this stage covers

21 hands-on lessons built around runnable examples. Every lesson is published as a full page below — read it, copy the code, do the assignment, then check the solution.

  • Semantic HTML
  • CSS layout
  • Flexbox & Grid
  • Responsive design
  • DOM & events
  • Async JavaScript

HTML

6 lessons

Structure content the way browsers, search engines and screen readers expect — from your first tags to semantic page layout.

About this subject

Learn HTML, the language that builds the skeleton of every web page, step by step from the very beginning.


About the Course

HTML (HyperText Markup Language) is the markup language that defines the structure and content of a web page.
This course covers everything from basic HTML syntax to semantic tags, with a hands-on, practice-first approach.

  • Audience: Beginners in web development, anyone learning HTML for the first time
  • Prerequisites: None (basic computer skills are enough)
  • How you learn: Read the lesson README → run the example files → complete the assignment → check the answer

Learning Objectives

By the end of this course, you will be able to:

  1. Understand and write the basic structure of an HTML document
  2. Use core tags for text, links, and images correctly
  3. Build tables and forms (input forms)
  4. Design meaningful document structure using semantic HTML
  5. Create your own HTML files that work directly in the browser

Lesson List

Lesson No. Lesson Title Key Tags / Concepts Difficulty
Lesson 01 HTML Basics DOCTYPE, html, head, body, h1~h6, p, div, span, ul, ol, li ⭐
Lesson 02 Text Elements strong, em, blockquote, code, pre, br, hr, sup, sub ⭐
Lesson 03 Links and Images a, img, absolute path, relative path, figure, figcaption ⭐⭐
Lesson 04 Tables table, thead, tbody, tfoot, tr, th, td, colspan, rowspan ⭐⭐
Lesson 05 Forms form, input, select, textarea, button, label, fieldset ⭐⭐⭐
Lesson 06 Semantic HTML header, nav, main, section, article, aside, footer ⭐⭐⭐

How Each Lesson Is Organized

lessonXX_topic-name/
├── README.md         ← Concept explanation + code examples (start here)
├── examples/         ← Complete example files you can run right away
├── assignment/
│   └── assignment.md ← An assignment to try yourself (requirements + hints)
└── assignment-answer/ ← The assignment answer (try it yourself first, then check!)

Suggested Learning Order

Lesson 01 → Lesson 02 → Lesson 03 → Lesson 04 → Lesson 05 → Lesson 06

Because each lesson builds the foundation for the next, we recommend studying them in order.


Development Environment Setup

Required Tools

  1. Text editor: VS Code is recommended
  2. Web browser: One of Chrome, Firefox, or Edge

Recommended VS Code Extensions

  • Live Server: The browser automatically refreshes every time you save an HTML file
  • HTML CSS Support: Enhances HTML autocompletion

How to Open an HTML File

  • Double-click an .html file in your file explorer to open it in the browser
  • If you opened it in VS Code, click the Go Live button of the Live Server extension

References


If you have questions or something is unclear, ask anytime!
The best way to learn is to type the code yourself. Don't just read the examples — be sure to type them out!

CSS

7 lessons

Make pages look designed: selectors, the box model, Flexbox, Grid and responsive layout.

About this subject

Learn the core concepts of CSS (Cascading Style Sheets), which makes web pages beautiful, step by step.


Prerequisites

  • HTML fundamentals (tags, attributes, document structure)
  • How to use a text editor (VS Code recommended)
  • Basics of browser developer tools

If you have not taken the HTML fundamentals lessons yet, please complete the lessons in the ../HTML/ folder first.


Lesson List

Lesson Topic Key Concepts
Lesson 01 CSS Basics Linking methods, selectors, specificity, inheritance
Lesson 02 Color & Font Color notation, Google Fonts, CSS variables
Lesson 03 Box Model content/padding/border/margin, box-sizing
Lesson 04 Background & Borders background, border-radius, box-shadow, transition
Lesson 05 Flexbox flex layout, justify-content, align-items
Lesson 06 Grid grid-template, fr units, grid-template-areas
Lesson 07 Responsive Web @media queries, mobile-first, breakpoints

How to Study

  1. Read the README.md in each lesson folder to understand the concepts.
  2. Open the files in the examples/ folder in a browser and check them yourself.
  3. Modify the code and observe how the properties change.
  4. Read assignments/assignment.md and implement it yourself.
  5. If you get stuck, refer to assignments/solutions/.

Folder Structure

CSS/
├── README.md               ← current file
├── lesson01_css_basics/
│   ├── README.md
│   ├── examples/           ← index.html + style.css
│   ├── assignments/        ← assignment.md
│   └── solutions/          ← index.html + style.css (with comments)
├── lesson02_color_font/
├── lesson03_box_model/
├── lesson04_background_borders/
├── lesson05_flexbox/
├── lesson06_grid/
└── lesson07_responsive/

References

JavaScript

8 lessons

Add logic and interactivity: values, control flow, functions, data structures, the DOM and async code.

About this subject

Course Overview

This course systematically covers JavaScript, the core language of web development, from the basics through to practical application.
Starting with variables and types and continuing to asynchronous programming, it consists of 8 lessons in total.


Prerequisites

Please study the following before taking this course.

  • HTML Basics: tag structure, semantic elements, form elements
  • CSS Basics: selectors, box model, basic layout
  • How to use a text editor (VS Code recommended)
  • Basic use of browser developer tools (F12)

Lesson List

Lesson Title Key Topics
Lesson 01 Variables and Types var/let/const, primitive types, typeof, type conversion, template literals
Lesson 02 Control Statements if/else, switch, for, while, break/continue
Lesson 03 Functions function declarations/expressions/arrow functions, scope, callbacks
Lesson 04 Arrays array methods, forEach/map/filter, spread operator
Lesson 05 Objects object literals, methods, this, destructuring, JSON
Lesson 06 DOM Manipulation querySelector, createElement, classList, dataset
Lesson 07 Events addEventListener, event object, bubbling, event delegation
Lesson 08 Asynchronous Promise, async/await, fetch API, error handling

Study Method

  1. Read each lesson's README.md to understand the concepts.
  2. Open examples/index.html directly in a browser and run it.
  3. Open the developer tools (F12 → Console) to observe the behavior.
  4. Read assignments/assignment.md and try implementing it yourself.
  5. If you get stuck, refer to assignment-solutions/index.html.

Development Environment Setup

# Recommended: install VS Code and then install the extensions
- Live Server       # Run HTML files on a local server
- Prettier          # Automatic code formatting
- ESLint            # Code error detection

References

The 5-stage series

64 lessons total
  1. 01Stage 1: Getting Started5 lessons
  2. 02Stage 2: Frontend Fundamentals21 lessons
  3. 03Stage 3: Backend Essentials12 lessons
  4. 04Stage 4: React & TypeScript14 lessons
  5. 05Stage 5: Professional Skills12 lessons

Learn this stage with a mentor

Work through these lessons on your own, or join a guided cohort at our Pitampura campus and online.

Call NowEnroll Now