Skip to content

Commit ef7bb44

Browse files
author
Aaron O'Mullan
committed
Fix typos in basics/README.md
1 parent 305fc28 commit ef7bb44

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

basics/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
In this first chapter, we'll learn the basics of programming and the Javascript language.
44

5-
Programming means writting code. Much like a book is made up of chapters, paragraphs, sentences, phrases, words and finally punctuation and letters, so too is a program broken down into smaller and smaller components. For now, the most important is a statement. A statement is analogous to a sentence in a book. On its own, it has structure and purpose, but without the context of the other statements around it, it isn't that meaningful.
5+
Programming means writting code. A book is made up of chapters, paragraphs, sentences, phrases, words and finally punctuation and letters, likewise a program can be broken down into smaller and smaller components. For now, the most important is a statement. A statement is analogous to a sentence in a book. On its own, it has structure and purpose, but without the context of the other statements around it, it isn't that meaningful.
66

77
A statement is more casually (and commonly) known as a *line of code*. That's because statements tend to be written on individual lines. As such, programs are read from top to bottom, left to right. You might be wondering what code (also called source code) is. That happens to be a broad term which can refer to the whole of the program or the smallest part. Therefore, a line of code is simply a line of your program.
88

@@ -16,4 +16,4 @@ var world = "World";
1616
var message = hello + " " + world;
1717
```
1818

19-
This code can be executed by another program called an *interpreter* taht will read the code, and execute all the statements in teh right order.
19+
This code can be executed by another program called an *interpreter* that will read the code, and execute all the statements in the right order.

0 commit comments

Comments
 (0)