Web-Dev-For-Beginners

Web-Dev-For-Beginners

Microsoft全面Web开发课程 通过实践项目掌握编程基础

Microsoft提供的12周Web开发入门课程,涵盖JavaScript、CSS和HTML基础。通过24个实践项目如植物温室、浏览器扩展和太空游戏,培养编程技能。课程采用项目制学习,配合测验和讨论,帮助初学者掌握Web开发并提高学习效果。适合想要开始Web开发之旅的编程新手。

Web开发JavaScriptHTMLCSSGitHubGithub开源项目

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

GitHub watchers GitHub forks GitHub stars

Open in Visual Studio Code

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 dive 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!

🧑‍🎓 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 Curriculum on Generative AI was just released!

Don't miss our NEW 12 lesson curriculum on generative AI!

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

  • prompting and prompt engineering
  • text and image app generation
  • search apps

Visit https://aka.ms/genai-beginners 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.

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.

<img src="./images/createcodespace.png" alt="Create codespace" style="width:270px;"/>

Running the curriculum locally on your computer

To run this curriculum locally on your computer, you will need a text editor, browser and 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:

    <img src="./images/createcodespace.png" alt="Copy your repository URL" style="width:270px;"/>

    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:

  • optional sketchnote
  • optional supplemental video
  • pre-lesson warmup quiz
  • written lesson
  • for project-based lessons, step-by-step guides on how to build the project
  • knowledge checks
  • a challenge
  • supplemental reading
  • assignment
  • post-lesson quiz

A note about quizzes: All quizzes are contained in this app, for 48 total quizzes of three questions each. They are linked from within the lessons but the quiz app can be run locally; follow the instruction in the quiz-app folder. They are gradually being localized.

🗃️ Lessons

Project NameConcepts TaughtLearning ObjectivesLinked LessonAuthor
01Getting StartedIntroduction to Programming and Tools of the TradeLearn the basic underpinnings behind most programming languages and about software that helps professional developers do their jobsIntro to Programming Languages and Tools of the TradeJasmine
02Getting StartedBasics of GitHub, includes working with a teamHow to use GitHub in your project, how to collaborate with others on a code baseIntro to GitHubFloor
03Getting StartedAccessibilityLearn the basics of web accessibilityAccessibility FundamentalsChristopher
04JS BasicsJavaScript Data TypesThe basics of JavaScript data typesData TypesJasmine
05JS BasicsFunctions and MethodsLearn about functions and methods to manage an application's logic flowFunctions and MethodsJasmine and Christopher
06JS BasicsMaking Decisions with JSLearn how to create conditions in your code using decision-making methodsMaking DecisionsJasmine
07JS BasicsArrays and LoopsWork with data using arrays and loops in JavaScriptArrays and LoopsJasmine
08TerrariumHTML in PracticeBuild the HTML to create an online terrarium, focusing on building a layoutIntroduction to HTMLJen
09TerrariumCSS in PracticeBuild the CSS to style the online terrarium, focusing on the basics of CSS including making the page responsiveIntroduction to CSSJen
10TerrariumJavaScript Closures, DOM manipulationBuild the JavaScript to make the terrarium function as a drag/drop interface, focusing on closures and DOM manipulationJavaScript Closures, DOM manipulationJen
11Typing GameBuild a Typing GameLearn how to use keyboard events to drive the logic of your JavaScript appEvent-Driven ProgrammingChristopher
12Green Browser ExtensionWorking with BrowsersLearn how browsers work, their history, and how to scaffold the first elements of a browser extensionAbout BrowsersJen
13Green Browser ExtensionBuilding a form, calling an API and storing variables in local storageBuild the JavaScript elements of your browser extension to call an API using variables stored in local storageAPIs, Forms, and Local StorageJen
14Green Browser ExtensionBackground processes in the browser, web performanceUse the browser's background processes to manage the extension's icon; learn about web performance and some optimizations to makeBackground Tasks and PerformanceJen
15Space GameMore Advanced Game Development with JavaScriptLearn about Inheritance using both Classes and Composition and the Pub/Sub pattern, in preparation for building a gameIntroduction to Advanced Game DevelopmentChris
16Space GameDrawing to canvasLearn about the Canvas API, used to draw elements to a screenDrawing to CanvasChris
17Space GameMoving elements around the screenDiscover how elements can gain motion using the cartesian coordinates and the Canvas APIMoving Elements AroundChris
18Space GameCollision detectionMake elements collide and react to each other using keypresses and provide a cooldown function to ensure performance of the gameCollision DetectionChris
19Space GameKeeping scorePerform math calculations based on the game's status and performanceKeeping ScoreChris
20Space GameEnding and restarting the gameLearn about ending and restarting the game, including cleaning up assets and resetting variable valuesThe Ending ConditionChris
21Banking AppHTML Templates and Routes in a Web AppLearn how to create the scaffold of a multipage website's architecture using routing and HTML templatesHTML Templates and RoutesYohan
22Banking AppBuild a Login and Registration FormLearn about building forms and handling validation routinesFormsYohan
23Banking AppMethods of Fetching and Using DataHow data flows in and out of your app, how to fetch it, store it, and dispose of itDataYohan
24Banking AppConcepts of State ManagementLearn how your app retains state and how to manage it programmaticallyState ManagementYohan

🏫 Pedagogy

Our curriculum is designed with two key pedagogical principles in mind:

  • project-based learning
  • frequent quizzes

The program teaches the fundamentals of JavaScript, HTML, and CSS, as well as the latest tools and techniques used by today's web developers. Students will have the opportunity to develop hands-on experience by building a typing game, virtual terrarium, eco-friendly browser extension, space-invader-style game, and a banking app for businesses. By the end of the series, students will have gained a solid understanding of web development.

🎓 You can take the first few lessons in this curriculum as a Learn Path on Microsoft Learn!

By ensuring that the content aligns with projects, the process is made more engaging for students and retention of concepts will be augmented. We also wrote several starter lessons in JavaScript basics to introduce concepts, paired with a video from the "Beginners Series to: JavaScript" collection of video tutorials, some of whose authors contributed to this curriculum.

In addition, a low-stakes quiz before a class sets the intention of the student towards learning a topic, while a second quiz after class ensures further retention. This curriculum was designed to be flexible and fun and can be taken in whole or in part. The projects start small and become increasingly complex by the end of the 12-week cycle.

While we have purposefully avoided introducing JavaScript frameworks to concentrate on the basic skills needed as a web developer before adopting a framework, a good next step to completing this curriculum would be learning about Node.js via another collection of videos: "[Beginner Series to:

编辑推荐精选

博思AIPPT

博思AIPPT

AI一键生成PPT,就用博思AIPPT!

博思AIPPT,新一代的AI生成PPT平台,支持智能生成PPT、AI美化PPT、文本&链接生成PPT、导入Word/PDF/Markdown文档生成PPT等,内置海量精美PPT模板,涵盖商务、教育、科技等不同风格,同时针对每个页面提供多种版式,一键自适应切换,完美适配各种办公场景。

AI办公办公工具AI工具博思AIPPTAI生成PPT智能排版海量精品模板AI创作热门
潮际好麦

潮际好麦

AI赋能电商视觉革命,一站式智能商拍平台

潮际好麦深耕服装行业,是国内AI试衣效果最好的软件。使用先进AIGC能力为电商卖家批量提供优质的、低成本的商拍图。合作品牌有Shein、Lazada、安踏、百丽等65个国内外头部品牌,以及国内10万+淘宝、天猫、京东等主流平台的品牌商家,为卖家节省将近85%的出图成本,提升约3倍出图效率,让品牌能够快速上架。

iTerms

iTerms

企业专属的AI法律顾问

iTerms是法大大集团旗下法律子品牌,基于最先进的大语言模型(LLM)、专业的法律知识库和强大的智能体架构,帮助企业扫清合规障碍,筑牢风控防线,成为您企业专属的AI法律顾问。

SimilarWeb流量提升

SimilarWeb流量提升

稳定高效的流量提升解决方案,助力品牌曝光

稳定高效的流量提升解决方案,助力品牌曝光

Sora2视频免费生成

Sora2视频免费生成

最新版Sora2模型免费使用,一键生成无水印视频

最新版Sora2模型免费使用,一键生成无水印视频

Transly

Transly

实时语音翻译/同声传译工具

Transly是一个多场景的AI大语言模型驱动的同声传译、专业翻译助手,它拥有超精准的音频识别翻译能力,几乎零延迟的使用体验和支持多国语言可以让你带它走遍全球,无论你是留学生、商务人士、韩剧美剧爱好者,还是出国游玩、多国会议、跨国追星等等,都可以满足你所有需要同传的场景需求,线上线下通用,扫除语言障碍,让全世界的语言交流不再有国界。

讯飞绘文

讯飞绘文

选题、配图、成文,一站式创作,让内容运营更高效

讯飞绘文,一个AI集成平台,支持写作、选题、配图、排版和发布。高效生成适用于各类媒体的定制内容,加速品牌传播,提升内容营销效果。

热门AI辅助写作AI工具讯飞绘文内容运营AI创作个性化文章多平台分发AI助手
TRAE编程

TRAE编程

AI辅助编程,代码自动修复

Trae是一种自适应的集成开发环境(IDE),通过自动化和多元协作改变开发流程。利用Trae,团队能够更快速、精确地编写和部署代码,从而提高编程效率和项目交付速度。Trae具备上下文感知和代码自动完成功能,是提升开发效率的理想工具。

AI工具TraeAI IDE协作生产力转型热门
商汤小浣熊

商汤小浣熊

最强AI数据分析助手

小浣熊家族Raccoon,您的AI智能助手,致力于通过先进的人工智能技术,为用户提供高效、便捷的智能服务。无论是日常咨询还是专业问题解答,小浣熊都能以快速、准确的响应满足您的需求,让您的生活更加智能便捷。

imini AI

imini AI

像人一样思考的AI智能体

imini 是一款超级AI智能体,能根据人类指令,自主思考、自主完成、并且交付结果的AI智能体。

下拉加载更多