Git Product home page Git Product logo

web-dev-for-beginners's Introduction

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.

Create codespace

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:

    Copy your repository URL

    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 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 Introduction to Advanced Game Development Chris
16 Space Game Drawing to canvas Learn about the Canvas API, used to draw elements to a screen Drawing to Canvas Chris
17 Space Game Moving elements around the screen Discover how elements can gain motion using the cartesian coordinates and the Canvas API Moving Elements Around Chris
18 Space Game Collision detection Make elements collide and react to each other using keypresses and provide a cooldown function to ensure performance of the game Collision Detection Chris
19 Space Game Keeping score Perform math calculations based on the game's status and performance Keeping Score Chris
20 Space Game Ending and restarting the game Learn about ending and restarting the game, including cleaning up assets and resetting variable values The Ending Condition Chris
21 Banking App HTML Templates and Routes in a Web App Learn how to create the scaffold of a multipage website's architecture using routing and HTML templates HTML Templates and Routes Yohan
22 Banking App Build a Login and Registration Form Learn about building forms and handling validation routines Forms Yohan
23 Banking App Methods of Fetching and Using Data How data flows in and out of your app, how to fetch it, store it, and dispose of it Data Yohan
24 Banking App Concepts of State Management Learn how your app retains state and how to manage it programmatically State Management Yohan

๐Ÿซ 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: Node.js".

Visit our Code of Conduct and Contributing guidelines. We welcome your constructive feedback!

๐Ÿงญ Offline access

You can run this documentation offline by using Docsify. Fork this repo, install Docsify on your local machine, and then in the root folder of this repo, type docsify serve. The website will be served on port 3000 on your localhost: localhost:3000.

๐Ÿ“˜ PDF

A PDF of all of the lessons can be found here.

๐ŸŽ’ Other Curricula

Our team produces other curricula! Check out:

License

This repository is licensed under the MIT license. See the LICENSE file for more information.

web-dev-for-beginners's People

Contributors

abrilurena avatar chungzh avatar cldxiang avatar crtao avatar daehungwak avatar dependabot[bot] avatar donghoon-song avatar ericjhernandezj avatar eugenegohh avatar flamadev avatar franciscoimanolsuarez avatar hexatester avatar jlooper avatar juliamuiruri4 avatar kant avatar manusquall avatar minwook-shin avatar mkleczewski avatar mt-gitlocalize avatar namosuke avatar pablonunes avatar pachicodes avatar robertopauletto avatar san1ay avatar saragibby avatar silverskyvicto avatar sinedied avatar softchris avatar wirelesslife avatar yooseongsil avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

web-dev-for-beginners's Issues

Pre Lecture Quiz won't open in offline mode

While doing the course offline using docsify, in the first topic i.e.., 1-getting-started-lessons/1-intro-to-programming-languages/ there comes a pre-lecture-quiz.md the docsify transfers the link to the root .github folder where the file is not present hence giving a 404 status.

Steps to reproduce the behavior:

  1. Start the offline way as described in the README
  2. Scroll to 'http://localhost:3000/#/1-getting-started-lessons/1-intro-to-programming-languages/README'
  3. Scroll down to 'pre-lecture-quiz' and click on it.
  4. See the 404 error.
  5. Error being that it goes to this while it should be going to this .
  6. The problem is with the way Github(links starting from '.' are of the same folder) and Docsify(links starting from '.' are from the root folder) handles dynamic links .

Desktop (please complete the following information):

  • OS: Ubuntu 20.04
  • Brave Browser(based on Chromium)

Help, I'm new!

Hi, I'm new to GitHub and I want to start helping out in some project. Could someone be kind enough to just let me know how the code is compiled into one URL and how are they connected here in Github. I understand how the pull requests, branches, issues section, and a little bit of markdown work ( because I took the intro course from the lab ), but I don't get how all this code thrown in the code tab compiles/connects as one and contributes to building the software. Final question: is github only for building websites? Or how and where is the software built here used and applied elsewhere.
If this is not a project/server that encourages new guys then I deeply apologise and appreciate your time.
Thanks

typos

section: formatting text
template literals
The comment output is wrong
${myString1}, ${myString2}! //Hello World!

it should be:
Hello, World!

Switched comparative operators for <,>,<=,>= in README.md

This is fairly self-explanitory. I realize that the description explains the comparisons properly, but the symbol reads from left to right and are named as such.

Seeing a table with '<' in the first column and the large header of 'Greater than' in the next doesn't bode well for those who may not be mathematically inclined to begin with.

Food for thought.

QWERTY

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

MD RAJIB TALUKDAR

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Describe the solution you'd like
A clear and concise description of what you want to happen.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

Help

Am new, and am I to learn PHP before JavaScript?

WHY DID YOU HACK MY ACCT

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

Web development project

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

How to complete the Course

Amazing Looking Course!

Hi guys! course looks amazing and I'm super enthusiastic about web development, but I don't fully understand how this course works, I'm still a newbie! can anyone help me out with this?

Expanding on JS Closure topic

Quoted from #84 :

The reason I think the highlighted part needs some change is that, it well explained function scope. But if it is titled with the name Closure, there might be some stuff missing (eg. things like why the state of the outer function can just be initialized once, etc.). I mean Closure is a big topic, and even some experienced developers will have tough time explaining what it is during interviews. So viewers of this curriculum might find it a bit challenging to understand if the target audience is at beginner level.

Let's rethink the quizzes a little

Right now, the quizzes are intended to integrate with GitHub Classroom, but I haven't been able to make that work. If someone can create a GitHub Action to grade quizzes, or suggest an alternate way to give ungraded feedback, please let's discuss here!

Re

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

Lesson 1 | Pre-Lecture Quiz not working.

Describe the bug
A clear and concise description of what the bug is that the lesson 1 Pre-Lecture Quiz isn't working. When any option clicked then it isn't showing selection.

To Reproduce
Steps to reproduce the behavior:

  1. Go to https://github.com/microsoft/Web-Dev-For-Beginners.
  2. Scroll down to Lessons.
  3. Click on Lesson 1 link.
  4. Scroll down to Pre-Lecture Quiz.
  5. Click on Pre-Lecture Quiz link.
  6. Try clicking on any of the options available for the quiz questions.
  7. See error

Expected behavior
When any option selected then the selection would have appeared but isn't appearing.

Screenshots
If applicable, add screenshots to help explain your problem.
image
When the option clicked then no selection appearing.

Desktop (please complete the following information):

  • OS: Windows 10
  • Browser Chrome
  • Version 87.0.4280.88

Translate to Malay Language

Hi there,I am Malaysian, I would like to contribute to this by translating into Malay Language('Bahasa Melayu').

1

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Describe the solution you'd like
A clear and concise description of what you want to happen.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

Web-dev-for-beginners

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Describe the solution you'd like
A clear and concise description of what you want to happen.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

Bank Project๏ผš localhost and 127.0.0.1 behave differently

When I run "npx live-server",the URL displays in the Edge is "127.0.0.1:8080/login".
But login action is blocked by browser because of CROS .
What the interesting part is when i change it to "lcoalhost",it works.

So ๏ผŒi have found that server.js which under api folder just match "localhost" with regualr expression in line 30.
generally they should be same thing๏ผŒdo i need to PR for this๏ผŸ
loopback
localhost

Please send my off Indonesia

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

08. Terrarium: Introduction to HTML ../images missing files

Issue
A link in "Terrarium Project Part 1: Introduction to HTML" to ../images is missing the proper plant image files.

To Reproduce
Steps to reproduce the behavior:

  1. Go to lesson 08: Terrarium Project Part 1: Intro to HTML
  2. Scroll down to subsection "The document's body", subsubsection "Images"
  3. See link [source code folder]

Links open blank page on github mobile

Issue :
Some links only showing blank page on github mobile app.

Source of issue :
There is no filename in the link.

Fix :
Replace all links like /1-getting-started-lessons/1-intro-to-programming-languages/ into /1-getting-started-lessons/1-intro-to-programming-languages/README.md.
Because of the first link only works on GitHub web, maybe.

Notes :
Resolving this will also help #3 (preventing docsify.js - page not found)

Online transfer

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Describe the solution you'd like
A clear and concise description of what you want to happen.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

Audit quiz links for docsify integration

The links to the quizzes need to be edited for docsify to work. Investigating the proper format; it's possible we should pull the quizzes out of the .github folder.

Link Not working

In Web-Dev-For-Beginners/1-getting-started-lessons/1-intro-to-programming-languages/README.md

For the Assignment section link is not working .

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.