Web-Dev-For-Beginners README

The project's README from github.com/microsoft/Web-Dev-For-Beginners. As one markdown file: README.md.

GitHub license GitHub contributors GitHub issues GitHub pull-requests PRs Welcome

GitHub watchers GitHub forks GitHub stars

Microsoft Foundry Discord

Web Development for Beginners - A Curriculum

Learn the fundamentals of web development with our 12-week comprehensive course by Microsoft Cloud Advocates. Each of the 24 lessons dives into JavaScript, CSS, and HTML through hands-on projects like terrariums, browser extensions, and space games. Engage with quizzes, discussions, and practical assignments. Enhance your skills and optimize your knowledge retention with our effective project-based pedagogy. Start your coding journey today!

Join the Azure AI Foundry Discord and meet experts and fellow developers.

Microsoft Foundry Discord

Follow these steps to get started using these resources:

  1. Fork the Repository: Click GitHub forks
  2. Clone the Repository: git clone https://github.com/microsoft/Web-Dev-For-Beginners.git
  3. Join The Azure AI Foundry Discord and meet experts and fellow developers

🌐 Multi-Language Support

Supported via GitHub Action (Automated & Always Up-to-Date)

Arabic | Bengali | Bulgarian | Burmese (Myanmar) | Chinese (Simplified) | Chinese (Traditional, Hong Kong) | Chinese (Traditional, Macau) | Chinese (Traditional, Taiwan) | Croatian | Czech | Danish | Dutch | Estonian | Finnish | French | German | Greek | Hebrew | Hindi | Hungarian | Indonesian | Italian | Japanese | Kannada | Khmer | Korean | Lithuanian | Malay | Malayalam | Marathi | Nepali | Nigerian Pidgin | Norwegian | Persian (Farsi) | Polish | Portuguese (Brazil) | Portuguese (Portugal) | Punjabi (Gurmukhi) | Romanian | Russian | Serbian (Cyrillic) | Slovak | Slovenian | Spanish | Swahili | Swedish | Tagalog (Filipino) | Tamil | Telugu | Thai | Turkish | Ukrainian | Urdu | Vietnamese

Prefer to Clone Locally?

This repository includes 50+ language translations which significantly increases the download size. To clone without translations, use sparse checkout:

Bash / macOS / Linux:

git clone --filter=blob:none --sparse https://github.com/microsoft/Web-Dev-For-Beginners.git
cd Web-Dev-For-Beginners
git sparse-checkout set --no-cone '/*' '!translations' '!translated_images'

CMD (Windows):

git clone --filter=blob:none --sparse https://github.com/microsoft/Web-Dev-For-Beginners.git
cd Web-Dev-For-Beginners
git sparse-checkout set --no-cone "/*" "!translations" "!translated_images"

This gives you everything you need to complete the course with a much faster download.

If you wish to have additional translations, the supported languages are listed here. here

Open in Visual Studio Code

🧑‍🎓 Are you a student?

Visit Student Hub page where you will find beginner resources, Student packs and even ways to get a free certificate voucher. This is the page you want to bookmark and check from time to time as we switch out content monthly.

📣 Announcement - New GitHub Copilot Agent mode challenges to complete!

New Challenge added, look for "GitHub Copilot Agent Challenge 🚀" in most chapters. That's a new challenge for you to complete using GitHub Copilot and Agent mode. If you haven't used Agent mode before it's capable of not just generating text but can also create and edit files, run commands and more.

📣 Announcement - New Project to build using Generative AI

New AI Assistant project just added, check it out project

📣 Announcement - New Curriculum on Generative AI for JavaScript was just released

Don't miss our new Generative AI curriculum!

Visit https://aka.ms/genai-js-course to get started!

Background

character

Each lesson includes an assignment to complete, a knowledge check and a challenge to guide you on learning topics like:

Visit https://aka.ms/genai-js-course to get started!

🌱 Getting Started

Teachers, we have included some suggestions on how to use this curriculum. We'd love your feedback in our discussion forum!

Learners, for each lesson, start with a pre-lecture quiz and follow through with reading the lecture material, completing the various activities and check your understanding with the post-lecture quiz.

To enhance your learning experience, connect with your peers to work on the projects together! Discussions are encouraged in our discussion forum where our team of moderators will be available to answer your questions.

To further your education, we highly recommend exploring Microsoft Learn for additional study materials.

📋 Setting up your environment

This curriculum has a development environment ready to go! As you get started you can choose to run the curriculum in a Codespace (a browser-based, no installs needed environment), or locally on your computer using a text editor such as Visual Studio Code.

Create your repository

For you to easily save your work, it is recommended that you create your own copy of this repository. You can do this by clicking the Use this template button at the top of the page. This will create a new repository in your GitHub account with a copy of the curriculum.

Follow these steps:

  1. Fork the Repository: Click on the "Fork" button at the top-right corner of this page.
  2. Clone the Repository: git clone https://github.com/microsoft/Web-Dev-For-Beginners.git

Running the curriculum in a Codespace

In your copy of this repository that you created, click the Code button and select Open with Codespaces. This will create a new Codespace for you to work in.

Codespace

Running the curriculum locally on your computer

To run this curriculum locally on your computer, you will need a text editor, a browser and a command line tool. Our first lesson, Introduction to Programming Languages and Tools of the Trade, will walk you through various options for each of these tools for you to select what works best for you.

Our recommendation is to use Visual Studio Code as your editor, which also has a built-in Terminal. You can download Visual Studio Code here.

  1. Clone your repository to your computer. You can do this by clicking the Code button and copying the URL:

    CodeSpace

    Then, open Terminal within Visual Studio Code and run the following command, replacing <your-repository-url> with the URL you just copied:

    git clone <your-repository-url>
    
  2. Open the folder in Visual Studio Code. You can do this by clicking File > Open Folder and selecting the folder you just cloned.

Recommended Visual Studio Code extensions:

  • Live Server - to preview HTML pages within Visual Studio Code
  • Copilot - to help you write code faster

📂 Each lesson includes:

A note about quizzes: All quizzes are contained in the Quiz-app folder, 48 total quizzes of three questions each. They are available here the quiz app can be run locally or deployed to Azure; follow the instruction in the quiz-app folder.

🗃️ Lessons

Project Name Concepts Taught Learning Objectives Linked Lesson Author
01 Getting Started Introduction to Programming and Tools of the Trade Learn the basic underpinnings behind most programming languages and about software that helps professional developers do their jobs Intro to Programming Languages and Tools of the Trade Jasmine
02 Getting Started Basics of GitHub, includes working with a team How to use GitHub in your project, how to collaborate with others on a code base Intro to GitHub Floor
03 Getting Started Accessibility Learn the basics of web accessibility Accessibility Fundamentals Christopher
04 JS Basics JavaScript Data Types The basics of JavaScript data types Data Types Jasmine
05 JS Basics Functions and Methods Learn about functions and methods to manage an application's logic flow Functions and Methods Jasmine and Christopher
06 JS Basics Making Decisions with JS Learn how to create conditions in your code using decision-making methods Making Decisions Jasmine
07 JS Basics Arrays and Loops Work with data using arrays and loops in JavaScript Arrays and Loops Jasmine
08 Terrarium HTML in Practice Build the HTML to create an online terrarium, focusing on building a layout Introduction to HTML Jen
09 Terrarium CSS in Practice Build the CSS to style the online terrarium, focusing on the basics of CSS including making the page responsive Introduction to CSS Jen
10 Terrarium JavaScript Closures, DOM manipulation Build the JavaScript to make the terrarium function as a drag/drop interface, focusing on closures and DOM manipulation JavaScript Closures, DOM manipulation Jen
11 Typing Game Build a Typing Game Learn how to use keyboard events to drive the logic of your JavaScript app Event-Driven Programming Christopher
12 Green Browser Extension Working with Browsers Learn how browsers work, their history, and how to scaffold the first elements of a browser extension About Browsers Jen
13 Green Browser Extension Building a form, calling an API and storing variables in local storage Build the JavaScript elements of your browser extension to call an API using variables stored in local storage APIs, Forms, and Local Storage Jen
14 Green Browser Extension Background processes in the browser, web performance Use the browser's background processes to manage the extension's icon; learn about web performance and some optimizations to make Background Tasks and Performance Jen
15 Space Game More Advanced Game Development with JavaScript Learn about Inheritance using both Classes and Composition and the Pub/Sub pattern, in preparation for building a game

Web-Dev-For-Beginners (microsoft/Web-Dev-For-Beginners)

Searching Database…

这是什么?这是微软 Microsoft Cloud Advocates 团队推出的免费课程,共 12 周、24 节课。它通过生态瓶、浏览器扩展、打字游戏和太空游戏等动手项目,讲解网页开发的基础知识(HTML、CSS、JavaScript)。
这是课程还是某种工具?这是一门可以自主安排进度学习的课程,你需要 Fork 后按部就班地学习。它不是要安装到项目里的应用、库或框架。
我该怎么开始学这些课?Fork 这个仓库,用 git clone 克隆下来,然后在 GitHub Codespace 中打开,或者用 VS Code 在本地打开文件夹,从第 1 课开始学习。
学这门课需要先安装什么?只需要一个文本编辑器(推荐 VS Code)、一个浏览器和一个命令行工具。学习课程不需要安装 Node、Python 或其他运行环境。
克隆仓库时有什么需要注意的坑吗?完整仓库内置了 50 多种语言的翻译,会让下载体积变得很大。所以如果你只想学英文版课程,可以使用稀疏检出(sparse checkout)。
这门课里我到底会做哪些项目?你会做一个互动生态瓶、一个打字游戏、一个浏览器扩展(Green)和一个太空游戏。每个项目分别对应特定的 JavaScript、CSS 或 HTML 知识点。
有测验来检查我的学习进度吗?有的,共 48 套测验,每套 3 道题。每节课分为课前和课后测验,通过自带的 Quiz-app 运行,可在本地或 Azure 上使用。
这门课也有生成式 AI 的内容吗?有的,还新增了配套的 Generative AI for JavaScript 课程。内容包括提示词工程、文本与图像生成、搜索应用以及 RAG,并以一个与历史人物对话的时空穿越聊天应用为主线。
学习的时候可以用 GitHub Copilot 吗?可以。大多数章节都包含一个可选的“GitHub Copilot Agent Challenge”挑战,要求你在课程中使用 Copilot 的 Agent 模式来生成和编辑文件。
Creator
microsoft
Size
2.1 GB
Stars
97K
Updated
CommitSep 14
Age
5y
Commits · 90 Days