agentleFS
MicrosoftKnown publishermicrosoft/Web-Dev-For-Beginners/AGENTS.md

Web-Dev-For-Beginners

AGENTS.md97k starsChanged 14 months agoMITView on GitHub

This is an educational curriculum repository for teaching web development fundamentals to beginners. The curriculum is a comprehensive 12-week course developed by Microsoft Cloud Advocates, featuring 24 hands-on lessons covering JavaScript, CSS, and HTML. This repository is primarily for educational content consumption. For working with specific projects:

  • Reads credentials
  • Installs packages

Adopted by

Steady: 0 new projects took it in the last 4 weeks, none the 4 weeks before.thin data

Week of Sep 27: 0 new projectsWeek of Oct 4: 0 new projectsWeek of Oct 11: 0 new projectsWeek of Oct 18: 0 new projectsWeek of Oct 25: 0 new projectsWeek of Nov 1: 0 new projectsWeek of Nov 8: 0 new projectsWeek of Nov 15: 0 new projects
Sep 2026Oct 2026Nov 2026
New projects taking a version of this file each week, over the 8 weeks our latest run read: only 0 in all, so this is a hint, not a trend.

Who's talking about microsoft/Web-Dev-For-Beginners

The biggest 5 of 62 mentions linking to the repository that our crawl found. Each line is their own headline.

See all 62

Talked about on Bluesky, GitHub and Hacker News (62 times).

On Bluesky · 30

25 more on Bluesky

On GitHub · 29

24 more on GitHub
  • Sep 27, 2026Link Checker Report — battousai60fps/git-clone-https-github.com-microsoft-Web-Dev-For-Beginners0 reactions
  • Sep 20, 2026Link Checker Report — battousai60fps/git-clone-https-github.com-microsoft-Web-Dev-For-Beginners0 reactions
  • Sep 13, 2026Link Checker Report — battousai60fps/git-clone-https-github.com-microsoft-Web-Dev-For-Beginners0 reactions
  • Sep 6, 2026Link Checker Report — battousai60fps/git-clone-https-github.com-microsoft-Web-Dev-For-Beginners0 reactions
  • Aug 30, 2026Link Checker Report — battousai60fps/git-clone-https-github.com-microsoft-Web-Dev-For-Beginners0 reactions
  • Aug 23, 2026Link Checker Report — battousai60fps/git-clone-https-github.com-microsoft-Web-Dev-For-Beginners0 reactions
  • Aug 16, 2026Link Checker Report — battousai60fps/git-clone-https-github.com-microsoft-Web-Dev-For-Beginners0 reactions
  • Aug 9, 2026Link Checker Report — battousai60fps/git-clone-https-github.com-microsoft-Web-Dev-For-Beginners0 reactions
  • Aug 2, 2026Link Checker Report — battousai60fps/git-clone-https-github.com-microsoft-Web-Dev-For-Beginners0 reactions
  • Apr 12, 2026Link Checker Report — Mwango24/git-clone-https-github.com-microsoft-Web-Dev-For-Beginners0 reactions
  • Mar 29, 2026Link Checker Report — Mwango24/git-clone-https-github.com-microsoft-Web-Dev-For-Beginners0 reactions
  • Mar 8, 2026Link Checker Report — Mwango24/git-clone-https-github.com-microsoft-Web-Dev-For-Beginners0 reactions
  • Mar 1, 2026Link Checker Report — Mwango24/git-clone-https-github.com-microsoft-Web-Dev-For-Beginners0 reactions
  • Feb 22, 2026Link Checker Report — Inhancing007/git-clone-https-github.com-microsoft-Web-Dev-For-Beginners0 reactions
  • Feb 15, 2026Link Checker Report — Inhancing007/git-clone-https-github.com-microsoft-Web-Dev-For-Beginners0 reactions
  • Feb 8, 2026Link Checker Report — Inhancing007/git-clone-https-github.com-microsoft-Web-Dev-For-Beginners0 reactions
  • Jan 25, 2026Link Checker Report — Inhancing007/git-clone-https-github.com-microsoft-Web-Dev-For-Beginners0 reactions
  • Jan 18, 2026Link Checker Report — Inhancing007/git-clone-https-github.com-microsoft-Web-Dev-For-Beginners0 reactions
  • Jan 4, 2026Link Checker Report — Inhancing007/git-clone-https-github.com-microsoft-Web-Dev-For-Beginners0 reactions
  • Dec 28, 2025Link Checker Report — Inhancing007/git-clone-https-github.com-microsoft-Web-Dev-For-Beginners0 reactions
  • Nov 2, 2025Fix calculateColor function declaration in browser-extension — Harshul23/Web-Dev-For-Beginners0 reactions · 2 comments
  • Dec 11, 20232020104134 이선화 Space Game — kakaotrack/basicweb0 reactions · 3 comments
  • Sep 12, 2023github.com/microsoft/Web-Dev-For-Beginners — softwareengel/FOM_EDU0 reactions
  • Feb 13, 2021Add Microsoft's repo to BEGINNER.md — webdev-20/web-dev-resources0 reactions

On Hacker News · 3

The file

Show its rules and text

We split this AGENTS.md into the rules it gives an agent

47 rules. About 1 is common, 29 are distinctive, and 17 are very specific to this project.

  • ≈1

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈29

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 17

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  • could be automatic: a setting could enforce it
  1. Distinctive:

    Test any code changes in relevant project directories

    line 87
  2. Distinctive:

    Read README files for each lesson

    line 94
  3. Very specific:

    Documentation: Run docsify serve in root (port 3000)

    line 102
  4. Very specific:

    Quiz App: Run npm run dev in quiz-app directory

    line 103
  5. Distinctive:

    Projects: Use VS Code Live Server extension for HTML projects

    line 104
  6. Very specific:

    API Projects: Run npm start in respective API directories

    line 105
  7. Very specific:

    Run npm run lint in directories with package.json

    line 136
  8. Distinctive:

    Verify markdown links are valid

    line 137
  9. Very specific:

    Test code examples in browser or Node.js

    line 138
  10. Distinctive:

    Check that translations maintain proper structure

    line 139
  11. Distinctive:

    Use modern ES6+ syntax

    line 145
  12. Distinctive:

    Follow standard ESLint configurations provided in projects

    line 146
  13. Distinctive:

    Use meaningful variable and function names for educational clarity

    line 147
  14. Distinctive:

    Add comments explaining concepts for learners

    line 148
  15. Distinctive:

    Use clear, descriptive titles indicating the area of change:

    line 220
  16. Distinctive:

    Before submitting a PR:

    line 228
  17. Very specific:

    Run npm run lint in affected project directories

    line 231
  18. Very specific:

    Run npm run build if applicable

    line 235
  19. Distinctive:

    Ensure no build errors

    line 236
  20. Distinctive:

    Test all markdown links

    line 239
  21. Distinctive:

    Verify image references work

    line 240
  22. Distinctive:

    Ensure code examples are correct and educational

    line 244
  23. Distinctive:

    Verify translations maintain original meaning

    line 245
  24. Distinctive:

    Follow the Microsoft Open Source Code of Conduct

    line 250
  25. Distinctive:

    Ensure code examples remain functional

    line 274
  26. Distinctive:

    Test any localized quiz content

    line 275
  27. Very specific:

    Check Node.js version (v14+ recommended)

    line 297
  28. Very specific:

    Delete node_modules and package-lock.json, run npm install again

    line 298
  29. Distinctive:

    Check for port conflicts (default: Vite uses port 5173)

    line 299
  30. Very specific:

    Verify Node.js version meets minimum (node >=10)

    line 302
  31. Distinctive:

    Check if port is already in use

    line 303
  32. Very specific:

    Ensure all dependencies installed with npm install

    line 304
  33. Very specific:

    Verify manifest.json is properly formatted

    line 307
  34. Distinctive:

    Check browser console for errors

    line 308
  35. Distinctive:

    Follow browser-specific extension installation instructions

    line 309
  36. Very specific:

    Ensure OpenAI package installed: pip install openai

    line 312
  37. Very specific:

    Verify GITHUB_TOKEN environment variable is set

    line 313
  38. Distinctive:

    Check GitHub Models access permissions

    line 314
  39. Distinctive:

    Run from repository root directory

    line 318
  40. Very specific:

    Check that docs/_sidebar.md exists

    line 319
  41. Distinctive:

    Use VS Code with Live Server extension for HTML projects

    line 323
  42. Distinctive:

    Use browser DevTools for debugging JavaScript

    line 325
  43. Distinctive:

    Use shallow clone if only working on content: git clone --depth 1

    line 331
  44. Very specific:

    Use .env files (already in .gitignore)

    line 340
  45. Distinctive:

    Document required environment variables in project READMEs

    line 341
  46. Very specific:

    Use virtual environments: python -m venv venv

    line 345
  47. Common:

    Never commit tokens or credentials

    line 353

≈ “Common” is an estimate: at least 1 in 5 of the 16,595 AGENTS.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
AGENTS.md

AGENTS.md

Project Overview

This is an educational curriculum repository for teaching web development fundamentals to beginners. The curriculum is a comprehensive 12-week course developed by Microsoft Cloud Advocates, featuring 24 hands-on lessons covering JavaScript, CSS, and HTML.

Key Components

  • Educational Content: 24 structured lessons organized into project-based modules
  • Practical Projects: Terrarium, Typing Game, Browser Extension, Space Game, Banking App, Code Editor, and AI Chat Assistant
  • Interactive Quizzes: 48 quizzes with 3 questions each (pre/post-lesson assessments)
  • Multi-language Support: Automated translations for 50+ languages via GitHub Actions
  • Technologies: HTML, CSS, JavaScript, Vue.js 3, Vite, Node.js, Express, Python (for AI projects)

Architecture

  • Educational repository with lesson-based structure
  • Each lesson folder contains README, code examples, and solutions
  • Standalone projects in separate directories (quiz-app, various lesson projects)
  • Translation system using GitHub Actions (co-op-translator)
  • Documentation served via Docsify and available as PDF

Setup Commands

This repository is primarily for educational content consumption. For working with specific projects:

Main Repository Setup

git clone https://github.com/microsoft/Web-Dev-For-Beginners.git
cd Web-Dev-For-Beginners

Quiz App Setup (Vue 3 + Vite)

cd quiz-app
npm install
npm run dev        # Start development server
npm run build      # Build for production
npm run lint       # Run ESLint

Bank Project API (Node.js + Express)

cd 7-bank-project/api
npm install
npm start          # Start API server
npm run lint       # Run ESLint
npm run format     # Format with Prettier

Browser Extension Projects

cd 5-browser-extension/solution
npm install
# Follow browser-specific extension loading instructions

Space Game Projects

cd 6-space-game/solution
npm install
# Open index.html in browser or use Live Server

Chat Project (Python Backend)

cd 9-chat-project/solution/backend/python
pip install openai
# Set GITHUB_TOKEN environment variable
python api.py

Development Workflow

For Content Contributors

  1. Fork the repository to your GitHub account
  2. Clone your fork locally
  3. Create a new branch for your changes
  4. Make changes to lesson content or code examples
  5. Test any code changes in relevant project directories
  6. Submit pull requests following contribution guidelines

For Learners

  1. Fork or clone the repository
  2. Navigate to lesson directories sequentially
  3. Read README files for each lesson
  4. Complete pre-lesson quizzes at https://ff-quizzes.netlify.app/web/
  5. Work through code examples in lesson folders
  6. Complete assignments and challenges
  7. Take post-lesson quizzes

Live Development

  • Documentation: Run docsify serve in root (port 3000)
  • Quiz App: Run npm run dev in quiz-app directory
  • Projects: Use VS Code Live Server extension for HTML projects
  • API Projects: Run npm start in respective API directories

Testing Instructions

Quiz App Testing

cd quiz-app
npm run lint       # Check for code style issues
npm run build      # Verify build succeeds

Bank API Testing

cd 7-bank-project/api
npm run lint       # Check for code style issues
node server.js     # Verify server starts without errors

General Testing Approach

  • This is an educational repository without comprehensive automated tests
  • Manual testing focuses on:
    • Code examples run without errors
    • Links in documentation work correctly
    • Project builds complete successfully
    • Examples follow best practices

Pre-submission Checks

  • Run npm run lint in directories with package.json
  • Verify markdown links are valid
  • Test code examples in browser or Node.js
  • Check that translations maintain proper structure

Code Style Guidelines

JavaScript

  • Use modern ES6+ syntax
  • Follow standard ESLint configurations provided in projects
  • Use meaningful variable and function names for educational clarity
  • Add comments explaining concepts for learners
  • Format using Prettier where configured

HTML/CSS

  • Semantic HTML5 elements
  • Responsive design principles
  • Clear class naming conventions
  • Comments explaining CSS techniques for learners

Python

  • PEP 8 style guidelines
  • Clear, educational code examples
  • Type hints where helpful for learning

Markdown Documentation

  • Clear heading hierarchy
  • Code blocks with language specification
  • Links to additional resources
  • Screenshots and images in images/ directories
  • Alt text for images for accessibility

File Organization

  • Lessons numbered sequentially (1-getting-started-lessons, 2-js-basics, etc.)
  • Each project has solution/ and often start/ or your-work/ directories
  • Images stored in lesson-specific images/ folders
  • Translations in translations/{language-code}/ structure

Build and Deployment

Quiz App Deployment (Azure Static Web Apps)

The quiz-app is configured for Azure Static Web Apps deployment:

cd quiz-app
npm run build      # Creates dist/ folder
# Deploys via GitHub Actions workflow on push to main

Azure Static Web Apps configuration:

  • App location: /quiz-app
  • Output location: dist
  • Workflow: .github/workflows/azure-static-web-apps-ashy-river-0debb7803.yml

Documentation PDF Generation

npm install                    # Install docsify-to-pdf
npm run convert               # Generate PDF from docs

Docsify Documentation

npm install -g docsify-cli    # Install Docsify globally
docsify serve                 # Serve on localhost:3000

Project-specific Builds

Each project directory may have its own build process:

  • Vue projects: npm run build creates production bundles
  • Static projects: No build step, serve files directly

Pull Request Guidelines

Title Format

Use clear, descriptive titles indicating the area of change:

  • [Quiz-app] Add new quiz for lesson X
  • [Lesson-3] Fix typo in terrarium project
  • [Translation] Add Spanish translation for lesson 5
  • [Docs] Update setup instructions

Required Checks

Before submitting a PR:

  1. Code Quality:
    • Run npm run lint in affected project directories
    • Fix all linting errors and warnings
  2. Build Verification:
    • Run npm run build if applicable
    • Ensure no build errors
  3. Link Validation:
    • Test all markdown links
    • Verify image references work
  4. Content Review:
    • Proofread for spelling and grammar
    • Ensure code examples are correct and educational
    • Verify translations maintain original meaning

Contribution Requirements

  • Agree to Microsoft CLA (automated check on first PR)
  • Follow the Microsoft Open Source Code of Conduct
  • See CONTRIBUTING.md for detailed guidelines
  • Reference issue numbers in PR description if applicable

Review Process

  • PRs reviewed by maintainers and community
  • Educational clarity is prioritized
  • Code examples should follow current best practices
  • Translations reviewed for accuracy and cultural appropriateness

Translation System

Automated Translation

  • Uses GitHub Actions with co-op-translator workflow
  • Translates to 50+ languages automatically
  • Source files in main directories
  • Translated files in translations/{language-code}/ directories

Adding Manual Translation Improvements

  1. Locate file in translations/{language-code}/
  2. Make improvements while preserving structure
  3. Ensure code examples remain functional
  4. Test any localized quiz content

Translation Metadata

Translated files include metadata header:

<!--
CO_OP_TRANSLATOR_METADATA:
{
  "original_hash": "...",
  "translation_date": "...",
  "source_file": "...",
  "language_code": "..."
}
-->

Debugging and Troubleshooting

Common Issues

Quiz app fails to start:

  • Check Node.js version (v14+ recommended)
  • Delete node_modules and package-lock.json, run npm install again
  • Check for port conflicts (default: Vite uses port 5173)

API server won't start:

  • Verify Node.js version meets minimum (node >=10)
  • Check if port is already in use
  • Ensure all dependencies installed with npm install

Browser extension won't load:

  • Verify manifest.json is properly formatted
  • Check browser console for errors
  • Follow browser-specific extension installation instructions

Python chat project issues:

  • Ensure OpenAI package installed: pip install openai
  • Verify GITHUB_TOKEN environment variable is set
  • Check GitHub Models access permissions

Docsify not serving docs:

  • Install docsify-cli globally: npm install -g docsify-cli
  • Run from repository root directory
  • Check that docs/_sidebar.md exists

Development Environment Tips

  • Use VS Code with Live Server extension for HTML projects
  • Install ESLint and Prettier extensions for consistent formatting
  • Use browser DevTools for debugging JavaScript
  • For Vue projects, install Vue DevTools browser extension

Performance Considerations

  • Large number of translated files (50+ languages) means full clones are large
  • Use shallow clone if only working on content: git clone --depth 1
  • Exclude translations from searches when working on English content
  • Build processes may be slow on first run (npm install, Vite build)

Security Considerations

Environment Variables

  • API keys should never be committed to repository
  • Use .env files (already in .gitignore)
  • Document required environment variables in project READMEs

Python Projects

  • Use virtual environments: python -m venv venv
  • Keep dependencies updated
  • GitHub tokens should have minimal required permissions

GitHub Models Access

  • Personal Access Tokens (PAT) required for GitHub Models
  • Tokens should be stored as environment variables
  • Never commit tokens or credentials

Additional Notes

Target Audience

  • Complete beginners to web development
  • Students and self-learners
  • Teachers using the curriculum in classrooms
  • Content is designed for accessibility and gradual skill building

Educational Philosophy

  • Project-based learning approach
  • Frequent knowledge checks (quizzes)
  • Hands-on coding exercises
  • Real-world application examples
  • Focus on fundamentals before frameworks

Repository Maintenance

  • Active community of learners and contributors
  • Regular updates to dependencies and content
  • Issues and discussions monitored by maintainers
  • Translation updates automated via GitHub Actions

Related Resources

Working with Specific Projects

For detailed instructions on individual projects, refer to the README files in:

  • quiz-app/README.md - Vue 3 quiz application
  • 7-bank-project/README.md - Banking application with authentication
  • 5-browser-extension/README.md - Browser extension development
  • 6-space-game/README.md - Canvas-based game development
  • 9-chat-project/README.md - AI chat assistant project

Monorepo Structure

While not a traditional monorepo, this repository contains multiple independent projects:

  • Each lesson is self-contained
  • Projects don't share dependencies
  • Work on individual projects without affecting others
  • Clone entire repo for the full curriculum experience

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.