Skip to content

Commit 2acc0a3

Browse files
committed
Merge pull request #203 from jkbits1/gh-pages
minor text changes
2 parents 75c911d + 6134764 commit 2acc0a3

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

js/lesson1/tutorial.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ title: Introduction to JavaScript
77

88
**JavaScript** is a language that allows for interaction with the user, controlling the content of the browser, and altering the displayed document content.
99

10-
Some common usages around the web is
10+
Some common usages around the web are
1111

1212
#### [Lightboxes](http://lokeshdhakar.com/projects/lightbox2/#example)
1313

js/lesson5/tutorial.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,17 +7,17 @@ This is the second tutorial on HTTP Requests, AJAX and APIs. You can find the [f
77

88
## Todays lesson
99

10-
In the last lesson we've explained an HTTP Requests is when we ask the server some information.
10+
In the last lesson we learnt that an HTTP Request is when we ask the server for some information.
1111

12-
In the two exercises we used the **GET** request. Today we will be building a Hangman game using an existing API that will handle the game logic for us.
12+
In the two earlier exercises we used the **GET** request. Today we will be building a Hangman game using an existing API that will handle the game logic for us.
1313

1414
We will be using the **POST**, **PUT** and **GET** requests, and other things we've learned in the last couple of lessons.
1515

1616

1717
| Verb | Description |
1818
| ---- | ----------- |
19-
| **GET** | fetching a resource (e.g. /index.html will return the HTML of the page) |
20-
| **PUT** | updating an existing resource. |
19+
| **GET** | Fetching a resource (e.g. /index.html will return the HTML of the page) |
20+
| **PUT** | Updating an existing resource. |
2121
| **POST** | Create a new resource. |
2222

2323

@@ -69,8 +69,8 @@ $.ajax({
6969
3. Update the stored token
7070

7171
4. Update remaining attempts and display all guesses
72-
- If an attempt is not succesful, appent it to the `$('.attempts')` using a span with the class `wrong`
73-
- You can then find out how many wrong attempts there wer using `$('.wrong').length+1;`
72+
- If an attempt is not successful, append it to the `$('.attempts')` using a span with the class `wrong`
73+
- You can then find out how many wrong attempts there were using `$('.wrong').length+1;`
7474

7575
3. On the 7th failure, retrieve the solution using the **GET** request
7676

0 commit comments

Comments
 (0)