Web Technologies โ€บ Level 06
LEVEL 06 ยท WEB DEVELOPMENT WORKFLOW

Web Development Tools and Workflow

Learn how professional developers organize Web projects, write and inspect code, validate documents, debug browser problems, use Git for version control, and follow a systematic development workflow.

๐Ÿ› ๏ธ Development Tools ๐Ÿ“ Project Structure ๐Ÿž Debugging ๐Ÿ”€ Git ๐ŸŽฏ Placement Focus
01

Learning Objectives

Build a professional workflow before entering the deeper HTML and CSS modules.

๐Ÿ“

Code Editor

Understand the purpose of a modern source-code editor such as Visual Studio Code.

๐Ÿ“

Project Structure

Organize HTML, CSS, JavaScript, images and supporting files clearly.

๐Ÿ› ๏ธ

Developer Tools

Use browser DevTools to inspect, test and debug Web applications.

โœ…

Validation

Check syntax, structure and browser errors before assuming that the code is correct.

๐Ÿž

Debugging

Learn a repeatable approach to finding and fixing Web development problems.

๐Ÿ”€

Version Control

Understand the basic purpose of Git and versioned project history.

02

What Is a Development Environment?

A development environment is the collection of tools used to create, test and manage software.

A Web developer normally works with several tools rather than typing everything into a browser.

A typical environment can include a code editor, a browser, browser Developer Tools, terminal utilities, version-control software and, depending on the application, local servers and databases.

๐Ÿ’ก
Simple idea

A development environment helps you write โ†’ run โ†’ inspect โ†’ debug โ†’ improve โ†’ save history your project.

03

Core Web Development Tools

Each tool has a specific responsibility.

๐Ÿ“

Code Editor

Used to create and modify source files such as HTML, CSS and JavaScript.

WRITE CODE
๐ŸŒ

Browser

Executes and displays client-side Web applications.

RUN WEB
๐Ÿ› ๏ธ

DevTools

Inspects DOM, CSS, JavaScript behavior and network activity.

DEBUG
โŒจ๏ธ

Terminal

Runs commands, tools, scripts and development utilities.

COMMANDS
๐Ÿ”€

Git

Records changes and provides version-control capabilities for a project.

VERSION CONTROL
โœ…

Validators

Help detect structural or standards-related problems in Web documents.

CHECK
๐Ÿ“ฆ

Project Files

Store application source code, assets, configuration and documentation.

ORGANIZE
๐Ÿ“š

Documentation

Provides authoritative information about Web technologies, APIs and tools.

LEARN
04

Working with a Code Editor

A modern editor provides more than a plain text area.

index.html
01 <!DOCTYPE html>
02 <html lang="en">
03   <head>
04     <title>CodeBhavya</title>
05   </head>
06   <body>
07     <h1>Hello Web</h1>
08   </body>
09 </html>
01
Syntax Highlighting

Makes different parts of source code easier to identify.

02
Auto Completion

Helps write known syntax and API names faster.

03
Search and Replace

Helps locate and update repeated code efficiently.

04
Extensions

Add support for languages, formatters, tools and workflows.

Professional habit: Keep source code readable. A developer should be able to understand the project structure quickly when opening the repository.
05

Basic Web Project Structure

Organize files according to their responsibility.

CODEBHAVYA-WEB-PROJECT
๐Ÿ“ project/
โ”œโ”€โ”€ ๐Ÿ“„ index.html
โ”œโ”€โ”€ ๐Ÿ“ css/
โ””โ”€โ”€ ๐Ÿ“„ style.css
โ”œโ”€โ”€ ๐Ÿ“ js/
โ””โ”€โ”€ ๐Ÿ“„ app.js
โ”œโ”€โ”€ ๐Ÿ“ images/
โ”œโ”€โ”€ ๐Ÿ–ผ๏ธ logo.png
โ””โ”€โ”€ ๐Ÿ–ผ๏ธ banner.jpg
โ”œโ”€โ”€ ๐Ÿ“ assets/
โ”œโ”€โ”€ ๐Ÿ“„ README.md
โ””โ”€โ”€ ๐Ÿ“„ .gitignore
HTML

Structure

Defines document structure and meaning.

CSS

Presentation

Defines styling, layout and visual presentation.

JAVASCRIPT

Behavior

Provides logic and interactive behavior.

ASSETS

Supporting Files

Stores images, icons, fonts or other project resources.

06

Understanding File Paths

Correct paths are essential for linking Web resources.

Path Meaning Example
Same folder Resource is alongside current file style.css
Child folder Move into a subfolder css/style.css
Parent folder Move one directory upward ../style.css
Root-relative Start from the site's root path /common.css
Remember: Many "page has no CSS" problems are simply incorrect file paths.
07

Debugging Mindset

Debugging is a process, not random trial and error.

01 Reproduce Confirm the problem consistently.
โ†’
02 Observe Inspect the browser, console and network.
โ†’
03 Isolate Find the smallest failing part.
โ†’
04 Fix Change the relevant code.
โ†’
05 Verify Confirm the original problem is actually solved.
๐Ÿž
Core debugging rule

Do not change ten things at once. Change one meaningful thing, test it, and observe the result.

08

Premium Visualizer โ€” Find and Fix a Web Bug

Step through a professional debugging workflow.

DEBUGGING WORKFLOW TRACE
Step 1 of 8
๐Ÿž
STEP 01

Problem Reported

The developer notices that the button does not respond.

"Submit button does nothing"
09

Validation and Verification

A project should be checked at multiple levels.

โ‘ 

Syntax

Is the code syntactically valid?

CODE
โ‘ก

Structure

Is the document organized correctly?

STRUCTURE
โ‘ข

Browser Behavior

Does the page behave correctly in the target browsers?

BEHAVIOR
โ‘ฃ

Requirements

Does the finished feature actually meet the requirement?

RESULT
10

Code Formatting and Readability

Readable code is easier to debug and maintain.

โœ…

Readable

const button = document.querySelector("#submit"); button.addEventListener( "click", submitForm );
โœ” Clear indentation
โœ” Meaningful names
โœ” Consistent formatting
VS
โš ๏ธ

Difficult to Maintain

const b=document.querySelector("#submit");b.addEventListener("click",submitForm);
โœ– Harder to scan
โœ– Harder to debug
โœ– Easy to miss mistakes
Important: Formatting does not change the intended program logic, but consistent formatting dramatically improves readability and maintenance.
11

Git and Version Control

Git records the evolution of a project over time.

Version control allows developers to track changes to files and maintain a history of the project.

Git is a distributed version-control system commonly used for source-code management.

Instead of keeping files such as project-final, project-final-2 and project-final-new, a version-control system can maintain meaningful project history.

๐Ÿ”€
Core idea

Git lets developers record meaningful changes, inspect history and collaborate on a project without manually creating multiple copies of the entire project for every revision.

12

Basic Git Workflow

Understand the conceptual flow before learning commands.

01 Working Directory Modify files
โ†’
02 Staging Area Select changes
โ†’
03 Commit Record a snapshot
โ†’
04 Repository Store project history
โ†’
05 Remote Share/synchronize repository
13

Essential Git Commands

Learn the basic commands you will use repeatedly.

Command Purpose
git init Initialize a repository in a directory.
git status Show the state of the working tree and staging area.
git add Add changes to the staging area.
git commit Record staged changes in repository history.
git log View commit history.
git branch Inspect or manage branches.
git pull Fetch and integrate changes from a remote according to the configured tracking relationship.
git push Send local commits to a remote repository.
Remember: git add stages changes; git commit records staged changes; git push sends local commits to a remote.
14

The `.gitignore` File

Not every file in a project should necessarily be committed.

# dependencies node_modules/ # local environment .env # generated files dist/ # operating-system files .DS_Store

A .gitignore file specifies intentionally untracked files or patterns that Git should normally ignore.

This is especially useful for generated files, machine-specific files and local configuration that should not be part of the repository history.

15

Professional Web Development Workflow

A repeatable workflow is more reliable than random coding.

01 Understand Requirement What should the feature do?
โ†“
02 Plan Identify files, UI and logic.
โ†“
03 Implement Write the smallest useful version.
โ†“
04 Run Open and test the application.
โ†“
05 Inspect Use browser DevTools.
โ†“
06 Debug Isolate and fix problems.
โ†“
07 Verify Confirm requirements.
โ†“
08 Commit Record meaningful project progress.
16

Premium Visualizer โ€” Developer Workflow

Trace a feature from requirement to version-controlled code.

DEVELOPMENT WORKFLOW TRACE
Step 1 of 8
๐Ÿ“‹
STEP 01

Understand Requirement

Define exactly what the feature is expected to do.

Requirement โ†’ Plan
17

Troubleshooting Guide

Start with the symptom and inspect the most relevant layer.

Symptom First Check Likely Area
CSS not applied Network / file path Link path, resource loading, CSS syntax
Button does nothing Console / Elements JavaScript selector, event listener or runtime error
API returns unexpected result Network Request, status, headers or response
Layout is incorrect Elements DOM structure, CSS rules, dimensions
Changes disappeared Git status / editor Unsaved files, wrong branch or uncommitted work
18

Real-World Example โ€” "My Page Is Blank"

Apply the complete workflow to a common beginner problem.

Problem

A developer opens a Web page and sees almost nothing on the screen.

Instead of immediately rewriting the HTML, the developer first opens Developer Tools and checks the Console and Network panels.

The Network panel shows that the JavaScript file returned a successful response, but the Console reports a runtime error.

๐Ÿ–ฅ๏ธ Page Blank
โ†“
๐Ÿ› ๏ธ Open DevTools
โ†“
โš ๏ธ Console Error
โ†“
๐Ÿ” Find Failing Line
โ†“
๐Ÿ”ง Fix + Test
19

Common Workflow Mistakes

Good development habits save time.

โŒ

No Project Structure

Putting every file in one folder makes projects harder to understand and maintain.

โŒ

Ignore Console Errors

A visible browser error often points directly toward the failing code.

โŒ

Change Everything at Once

Multiple simultaneous changes make it difficult to identify which change affected the result.

โŒ

Never Commit Work

Without version history, recovering from mistakes becomes much harder.

20

Interview Preparation

Think first, then click a card to reveal the answer.

INTERVIEW QUESTION
01

What is a development environment?

Think about the tools used to create, run and debug software.

Click to reveal answer
ANSWER
โœ“

Development Environment

It is the collection of tools, software and configuration used by a developer to create, run, test, debug and manage an application.

Click again to return to the question.
INTERVIEW QUESTION
02

What is the purpose of browser Developer Tools?

Think about inspection and debugging.

Click to reveal answer
ANSWER
โœ“

Developer Tools

Developer Tools help inspect the DOM and CSS, run and debug JavaScript, inspect network requests and investigate browser behavior.

Click again to return to the question.
INTERVIEW QUESTION
03

What is debugging?

Think about finding the cause of incorrect behavior.

Click to reveal answer
ANSWER
โœ“

Debugging

Debugging is the systematic process of reproducing a problem, observing evidence, locating its cause, applying a fix and verifying the result.

Click again to return to the question.
INTERVIEW QUESTION
04

What is Git?

Think about version control and project history.

Click to reveal answer
ANSWER
โœ“

Git

Git is a distributed version-control system used to record changes, maintain repository history and support collaboration.

Click again to return to the question.
INTERVIEW QUESTION
05

What is the difference between git add and git commit?

Think about staging versus recording.

Click to reveal answer
ANSWER
โœ“

add vs commit

git add places selected changes into the staging area. git commit records the staged changes as a commit in the repository history.

Click again to return to the question.
INTERVIEW QUESTION
06

What is the purpose of a .gitignore file?

Think about files that should normally stay untracked.

Click to reveal answer
ANSWER
โœ“

.gitignore

It specifies files and patterns that Git should normally ignore, such as generated output, local configuration or dependency directories.

Click again to return to the question.
INTERVIEW QUESTION
07

What is the purpose of code formatting?

Think about readability and maintenance.

Click to reveal answer
ANSWER
โœ“

Code Formatting

Code formatting provides consistent indentation, spacing and layout, making source code easier to read, review and maintain.

Click again to return to the question.
INTERVIEW QUESTION
08

What should you do before changing a large amount of code to fix a bug?

Think about reproduction and evidence.

Click to reveal answer
ANSWER
โœ“

Debug First

First reproduce the problem, inspect available evidence such as console and network information, isolate the failing component and then make a targeted change.

Click again to return to the question.
21

Quick MCQs

Test your development workflow knowledge.

MCQ 01 EASY

Which tool is primarily used to inspect DOM and CSS in a browser?

MCQ 02 EASY

Which Git command records staged changes in repository history?

MCQ 03 MODERATE

A JavaScript file loads successfully but the page still fails. Which tool should you inspect first for runtime errors?

MCQ 04 MODERATE

What is the purpose of .gitignore?

22

Practice Problems

Apply the workflow to practical situations.

01

Create a Web project folder with separate HTML, CSS, JavaScript and images directories.

02

Explain how you would investigate a CSS file that does not appear to load.

03

Explain the difference between git add, git commit and git push.

04

Create a basic .gitignore and explain each pattern.

05

A button is visible but does nothing. Write the debugging steps you would follow.

06

Explain why project structure, formatting and version control are important even for a small Web project.

23

Glossary

Click a term to flip the card and reveal its meaning.

TERM
Code Editor
Click to see meaning
DEFINITION

Code Editor

Software used to create and modify source-code files.

TERM
Debugging
Click to see meaning
DEFINITION

Debugging

The systematic process of locating, fixing and verifying software problems.

TERM
DevTools
Click to see meaning
DEFINITION

DevTools

Browser tools used to inspect, test, debug and analyze Web pages.

TERM
Version Control
Click to see meaning
DEFINITION

Version Control

A system for recording and managing changes to files over time.

TERM
Repository
Click to see meaning
DEFINITION

Repository

A Git-managed location containing project files and version history.

TERM
Staging Area
Click to see meaning
DEFINITION

Staging Area

The Git area where selected changes are prepared before creating a commit.

TERM
Commit
Click to see meaning
DEFINITION

Commit

A recorded set of staged changes in Git history.

TERM
.gitignore
Click to see meaning
DEFINITION

.gitignore

A Git configuration file that specifies files and patterns Git should normally ignore.

24

Quick Revision

Remember the professional workflow.

๐Ÿ“ Editor

Write source code

๐ŸŒ Browser

Run Web application

๐Ÿ› ๏ธ DevTools

Inspect and debug

๐Ÿ“ Structure

Organize files

โœ… Validate

Check correctness

๐Ÿž Debug

Find root cause

๐Ÿ”€ Git

Track history

๐Ÿš€ Workflow

Plan to verify

๐ŸŽฏ

Key Takeaway

Professional Web development is not only about knowing HTML, CSS and JavaScript. You must also know how to organize a project, inspect the browser, identify errors, validate your work and maintain reliable project history.

The most important workflow is: Understand โ†’ Plan โ†’ Implement โ†’ Run โ†’ Inspect โ†’ Debug โ†’ Verify โ†’ Commit .

From the next level onward, we will start building Web documents in detail, beginning with HTML.

โœ“
LEVEL 06

Web Development Tools and Workflow

Finish the lesson and mark this topic as completed.