mirror of
https://github.com/microsoft/Web-Dev-For-Beginners.git
synced 2025-08-11 09:14:34 +02:00
preliminary work for docsify implementation (up to space game)
This commit is contained in:
@@ -5,7 +5,8 @@
|
||||

|
||||
> Sketchnote by [Tomomi Imura](https://twitter.com/girlie_mac)
|
||||
|
||||
## [Pre-lecture quiz](.github/pre-lecture-quiz.md)
|
||||
## Pre-Lecture Quiz
|
||||
[Pre-lecture quiz](2-js-basics/1-data-types/.github/pre-lecture-quiz.md)
|
||||
|
||||
This lesson covers the basics of JavaScript, the language that provides interactivity on the web.
|
||||
|
||||
@@ -182,7 +183,8 @@ Booleans can be only two values: `true` or `false`. Booleans can help make decis
|
||||
|
||||
JavaScript is notorious for its surprising ways of handling datatypes on occasion. Do a bit of research on these 'gotchas'. For example: case sensitivity can bite! Try this in your console: `let age = 1; let Age = 2; age == Age` (resolves `false` -- why?). What other gotchas can you find?
|
||||
|
||||
## [Post-lecture quiz](.github/post-lecture-quiz.md)
|
||||
## Post-Lecture Quiz
|
||||
[Post-lecture quiz](2-js-basics/1-data-types/.github/post-lecture-quiz.md)
|
||||
|
||||
## Review & Self Study
|
||||
|
||||
@@ -190,5 +192,4 @@ Take a look at [this list of JavaScript exercises](https://css-tricks.com/snippe
|
||||
|
||||
## Assignment
|
||||
|
||||
[Data Types Practice](assignment.md)
|
||||
|
||||
[Data Types Practice](2-js-basics/1-data-types/assignment.md)
|
@@ -5,7 +5,8 @@
|
||||

|
||||
> Sketchnote by [Tomomi Imura](https://twitter.com/girlie_mac)
|
||||
|
||||
## [Pre-lecture quiz](.github/pre-lecture-quiz.md)
|
||||
## Pre-Lecture Quiz
|
||||
[Pre-lecture quiz](2-js-basics/2-functions-methods/.github/pre-lecture-quiz.md)
|
||||
|
||||
When we think about writing code, we always want to ensure our code is readable. While this sounds counterintuitive, code is read many more times than it's written. One core tool in a developer's toolbox to ensure maintainable code is the **function**.
|
||||
|
||||
@@ -179,7 +180,8 @@ You've now seen we have three ways to pass a function as a parameter and might b
|
||||
|
||||
Can you articulate in one sentence the difference between functions and methods? Give it a try!
|
||||
|
||||
## [Post-lecture quiz](.github/post-lecture-quiz.md)
|
||||
## Post-Lecture Quiz
|
||||
[Post-lecture quiz](2-js-basics/2-functions-methods/.github/post-lecture-quiz.md)
|
||||
|
||||
## Review & Self Study
|
||||
|
||||
@@ -187,4 +189,4 @@ It's worth [reading up a little more on arrow functions](https://developer.mozil
|
||||
|
||||
## Assignment
|
||||
|
||||
[Fun with Functions](assignment.md)
|
||||
[Fun with Functions](2-js-basics/2-functions-methods/assignment.md)
|
@@ -5,7 +5,9 @@
|
||||

|
||||
> Sketchnote by [Tomomi Imura](https://twitter.com/girlie_mac)
|
||||
|
||||
## [Pre-lecture quiz](.github/pre-lecture-quiz.md)
|
||||
##
|
||||
Pre-Lecture Quiz
|
||||
[Pre-lecture quiz](2-js-basics/3-making-decisions/.github/pre-lecture-quiz.md)
|
||||
|
||||
Making decisions and controlling the order in which your code runs makes your code reusable and robust. This section covers the syntax for controlling data flow in JavaScript and its significance when used with Boolean data types
|
||||
|
||||
@@ -158,7 +160,9 @@ if (firstNumber > secondNumber) {
|
||||
|
||||
Create a program that is written first with logical operators, and then rewrite it using a ternary expression. What's your preferred syntax?
|
||||
|
||||
## [Post-lecture quiz](.github/post-lecture-quiz.md)
|
||||
##
|
||||
Post-Lecture Quiz
|
||||
[Post-lecture quiz](2-js-basics/3-making-decisions/.github/post-lecture-quiz.md)
|
||||
|
||||
## Review & Self Study
|
||||
|
||||
@@ -168,4 +172,4 @@ Go through Josh Comeau's wonderful [operator lookup](https://joshwcomeau.com/ope
|
||||
|
||||
## Assignment
|
||||
|
||||
[Operators](assignment.md)
|
||||
[Operators](2-js-basics/3-making-decisions/assignment.md)
|
||||
|
@@ -5,7 +5,9 @@
|
||||

|
||||
> Sketchnote by [Tomomi Imura](https://twitter.com/girlie_mac)
|
||||
|
||||
## [Pre-lecture quiz](.github/pre-lecture-quiz.md)
|
||||
##
|
||||
Pre-Lecture Quiz
|
||||
[Pre-lecture quiz](2-js-basics/4-arrays-loops/.github/pre-lecture-quiz.md)
|
||||
|
||||
This lesson covers the basics of JavaScript, the language that provides interactivity on the web. In this lesson, you'll learn about arrays and loops, which are used to manipulate data.
|
||||
|
||||
@@ -110,7 +112,10 @@ for (let i = 0; i < iceCreamFlavors.length; i++) {
|
||||
|
||||
There are other ways of looping over arrays other than for and while loops. There are [forEach](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/forEach), [for-of](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/for...of), and [map](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/map). Rewrite your array loop using one of these techniques.
|
||||
|
||||
## [Post-lecture quiz](.github/post-lecture-quiz.md)
|
||||
##
|
||||
Post-Lecture Quiz
|
||||
[Post-lecture quiz](2-js-basics/4-arrays-loops/.github/post-lecture-quiz.md)
|
||||
|
||||
|
||||
## Review & Self Study
|
||||
|
||||
@@ -118,4 +123,4 @@ Arrays in JavaScript have many methods attached to them, extremely useful for da
|
||||
|
||||
## Assignment
|
||||
|
||||
[Loop an Array](assignment.md)
|
||||
[Loop an Array](2-js-basics/4-arrays-loops/assignment.md)
|
||||
|
Reference in New Issue
Block a user