diff --git a/1-what-is-programming/0-javascript/README.md b/1-what-is-programming/0-javascript/README.md index 8d7c067..3d44778 100644 --- a/1-what-is-programming/0-javascript/README.md +++ b/1-what-is-programming/0-javascript/README.md @@ -62,7 +62,7 @@ alert('hello user (alert)'); You can also write your code in a script tag of an HTML file then open the HTML file in your browser. The JavaScript will run automatically when the page is -loaded. See this in action with `./inline.html`. +loaded. See this in action with `./1-inline-script-tag.html`. You will learn about this later in the course for examples and exercises that introduce how JavaScript interacts with the DOM. It's easier to understand "the @@ -74,8 +74,8 @@ big picture" when you can see everything in one document. You can also write your code in a separate `.js` file, then load the file into your HTML to execute the code. There are two different ways you can load a `.js` -file into your HTML, you can see them in action with `./separate-script` and -`./separate-modules` (you'll learn more about scripts vs. modules later on). +file into your HTML, you can see them in action with `./2-separate-script-file` and +`./3-separate-module-files` (you'll learn more about scripts vs. modules later on). You will use this for larger projects and for collaboration. Separating code into smaller files each with a clear purpose makes your code base easier to diff --git a/1-what-is-programming/README.md b/1-what-is-programming/README.md index 7bc7a07..9a69bad 100644 --- a/1-what-is-programming/README.md +++ b/1-what-is-programming/README.md @@ -42,7 +42,7 @@ perfectly structured and do exactly what we want. The computer just _parses_ (interprets) our code and follows the instructions without any understanding or thinking. -You can think of a programing language as the developer's UI for the computer. +You can think of a programming language as the developer's UI for the computer. Because this UI isn't very intuitive you will need to spend a lot of time studying syntax and other details before you can program with ease. This is why you will be focusing on _understanding_ programs before writing them.