diff --git a/README.md b/README.md
index fa97dad57..8fe3c5dee 100644
--- a/README.md
+++ b/README.md
@@ -1,15 +1,15 @@
> Please help us improve and share your feedback! If you find better tutorials
-or links, please share them by [opening a pull request](https://github.com/HackYourFuture/JavaScript3/pulls).
+or links, please share them by [opening a pull request](https://github.com/FooCoding/JavaScript3/pulls).
-# HackYourFuture JavaScript 3
+# JavaScript 3
Here you can find course content and homework for the JavaScript3 modules
-|Week|Topic|Read|Homework|
-|----|-----|----|--------|
-|1.|• Structure for a basic SPA (Single Page Application)
• [XMLHttpRequests](../../../fundamentals/blob/master/fundamentals/XMLHttpRequest.md)
• API calls|[Reading Week 1](/Week1/README.md)|[Homework Week 1](/Week1/MAKEME.md)|
-|2.|• [Event Loop (order of execution)](../../../fundamentals/blob/master/fundamentals/event_loop.md)
• [Promises](../../../fundamentals/blob/master/fundamentals/promises.md)|[Reading Week 2](/Week2/README.md)|[Homework Week 2](/Week2/MAKEME.md)|
-|3.|• [try...catch](../../../fundamentals/blob/master/fundamentals/try_catch.md)
• [async/await](../../../fundamentals/blob/master/fundamentals/async_await.md)
• [The `this` keyword](../../../fundamentals/blob/master/fundamentals/this.md)
• call, apply, bind
• [Object Oriented Programming and ES6 Classes](../../../fundamentals/blob/master/fundamentals/oop_classes.md)|[Reading Week 3](/Week3/README.md)|[Homework Week 3](/Week3/MAKEME.md)|
+|Week|Topic|Read|Homework|Lecture notes|
+|----|-----|----|--------|-------------|
+|1.|• [XMLHttpRequests](../../../fundamentals/blob/master/fundamentals/XMLHttpRequest.md)
• API calls
• Structure for a basic SPA (Single Page Application)
|[Reading Week 1](/Week1/README.md)|[Homework Week 1](/Week1/MAKEME.md)|[notes](/Week1/LECTURENOTES.md)
+|2.|• [Event Loop (order of execution)](../../../fundamentals/blob/master/fundamentals/event_loop.md)
• [Promises](../../../fundamentals/blob/master/fundamentals/promises.md)|[Reading Week 2](/Week2/README.md)|[Homework Week 2](/Week2/MAKEME.md)|[notes](/Week2/LECTURENOTES.md)
+|3.|• [try...catch](../../../fundamentals/blob/master/fundamentals/try_catch.md)
• [async/await](../../../fundamentals/blob/master/fundamentals/async_await.md)
• [The `this` keyword](../../../fundamentals/blob/master/fundamentals/this.md)
• call, apply, bind
• [Object Oriented Programming and ES6 Classes](../../../fundamentals/blob/master/fundamentals/oop_classes.md)|[Reading Week 3](/Week3/README.md)|[Homework Week 3](/Week3/MAKEME.md)|[notes](/Week3/LECTURENOTES.md)
__Kind note:__
@@ -18,6 +18,7 @@ We expect you to __always__ come prepared to the class on Sunday.
### Overall
A good understanding of all the above mentioned topics. Want to check your Knowledge? Go through the [JavaScript Fundamentals README](../../../fundamentals/blob/master/README.md) and research/ ask for help (Slack!) with the concepts that are not entirely clear.
-*The HackYourFuture curriculum is subject to CC BY copyright. This means you can freely use our materials, but just make sure to give us credit for it :)*
+---
+Credit goes to [HackYourFuture](https://github.com/HackYourFuture) which this is based upon.
This work is licensed under a Creative Commons Attribution 4.0 International License.
diff --git a/Week1/LECTURENOTES.md b/Week1/LECTURENOTES.md
new file mode 100644
index 000000000..1a1062c0e
--- /dev/null
+++ b/Week1/LECTURENOTES.md
@@ -0,0 +1,29 @@
+## XMLHttpRequests
+- What is an Http request?
+ - Life of a request
+ - https://dev.to/dangolant/things-i-brushed-up-on-this-week-the-http-request-lifecycle-
+ - REST
+ - Verbs
+ - Headers
+ - Status codes
+- Example w/ curl
+- Now how do we send a request with a browser?
+- Websites of the early era required a complete page load upon each request (https://en.wikipedia.org/wiki/Ajax_(programming))
+ - This is inefficient and provides a bad user experience with full reloads on each action. Example: MapQuest in the early days.
+- AJAX
+ - Gmail in 2004 and Google Maps in 2005
+ - A way for browsers to send requests asyncronously! 🎉
+ - In 2006, W3C releated XMLHttpRequest specification
+- XMLHttpRequest
+ - Guide: https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest
+
+## API calls
+- Open API's without need for auth tokens (https://github.com/public-apis/public-apis/blob/master/README.md). Use one for example.
+- Create new HTML file
+- Create a button that will have an event listener
+- Retrieve data from api with XMLHttpRequest obj
+
+- ...but callbacks? [joke](https://www.reddit.com/r/ProgrammerHumor/comments/che938/asynchronous_javascript/)
+
+
+## Structure for a basic SPA
diff --git a/Week1/MAKEME.md b/Week1/MAKEME.md
index eed3987c8..d3b76a609 100644
--- a/Week1/MAKEME.md
+++ b/Week1/MAKEME.md
@@ -2,9 +2,9 @@
```
Topics discussed this week:
-• Structure for a basic SPA
• XMLHttpRequests
• API calls
+• Structure for a basic SPA
```
## Step 1: Single Page Application :sweat_drops:
@@ -19,7 +19,7 @@ _This homework is more extensive and challenging than previous homework! Please
You are going to write a _Single Page Application_ (SPA) that uses the [GitHub API](https://developer.github.com/guides/getting-started/).
-This application should display information about the available [HYF GitHub repositories](https://github.com/hackyourfuture). The functionalities we would like to see in your application are as follows:
+This application should display information about the available [FooCoding GitHub repositories](https://github.com/foocoding). The functionalities we would like to see in your application are as follows:
- The user should be able to select a repository from a list of available repositories.
- The application should display high-level information about the selected repository and show a list of its contributors.
@@ -32,19 +32,19 @@ Figure 1 below shows an example of what your application could look like. Note t
Figure 1. Example User Interface using [Material Design](https://material.io/guidelines/) principles.
-A live version of this application can be found here: http://hyf-github.netlify.com/
+A live version of this application can be found here: [http://hyf-github.netlify.com/](http://hyf-github.netlify.com/)
### 1.2 The GitHub API
-#### 1.2.1 Get a list of HYF repositories
+#### 1.2.1 Get a list of FooCoding repositories
-You can fetch a list of HYF repositories through this API endpoint ([What is an API Endpoint?](https://teamtreehouse.com/community/what-is-an-api-endpoint)):
+You can fetch a list of FooCoding repositories through this API endpoint ([What is an API Endpoint?](https://teamtreehouse.com/community/what-is-an-api-endpoint)):
```
-https://api.github.com/orgs/HackYourFuture/repos?per_page=100
+https://api.github.com/orgs/foocoding/repos?per_page=100
```
-If you open this URL in the browser (_try it!_) you will receive JSON data about the available HYF repositories. This is the data that you will need to work with in this assignment.
+If you open this URL in the browser (_try it!_) you will receive JSON data about the available FooCoding repositories. This is the data that you will need to work with in this assignment.
Note the query string `?per_page=100` in the above URL. If you don't specify this query string you will only get the first 30 repositories (the default `per_page` is 30). HackYourFuture has more than 30 repositories but less than 100.
@@ -62,7 +62,7 @@ You can find detailed information about the GitHub API by means of the link list
### 1.3 Coding Style
-In this homework we will be introducing a preferred coding style and supporting tools to help you write _"clean code"_. A number of popular [_JavaScript Style Guides_](https://codeburst.io/5-javascript-style-guides-including-airbnb-github-google-88cbc6b2b7aa) have recently emerged of which the one developed by [Airbnb](https://github.com/airbnb/javascript) has been chosen for this homework and is recommended for subsequent use during the HYF curriculum. It is documented here:
+In this homework we will be introducing a preferred coding style and supporting tools to help you write _"clean code"_. A number of popular [_JavaScript Style Guides_](https://codeburst.io/5-javascript-style-guides-including-airbnb-github-google-88cbc6b2b7aa) have recently emerged of which the one developed by [Airbnb](https://github.com/airbnb/javascript) has been chosen for this homework and is recommended for subsequent use during the FooCoding curriculum. It is documented here:
- [Airbnb JavaScript Style Guide](https://github.com/airbnb/javascript)
@@ -146,10 +146,10 @@ _**Do not change or delete any files outside of the `homework` folder!**_
| `createAndAppend` | A utility function for easily creating and appending HTML elements. |
| `main` | Contains the start-up code for the application. |
- `index.js` also contains a constant with the URL for the HYF repositories as listed in section 2.2.1:
+ `index.js` also contains a constant with the URL for the FooCoding repositories as listed in section 2.2.1:
```js
- const HYF_REPOS_URL = 'https://api.github.com/orgs/HackYourFuture/repos?per_page=100';
+ const REPOS_URL = 'https://api.github.com/orgs/foocoding/repos?per_page=100';
```
3. Open the `index.html` file in your browser. Notice that it produces the same JSON output that you saw previously when you opened the URL directly in the browser.
@@ -162,7 +162,7 @@ The assignment is to produce an application similar to the one illustrated in Fi
It should include the following components:
-1. An HTML `select` element from which the user can select a HYF repository. This `select` element must be populated with `option` elements, one for each HYF repository.
+1. An HTML `select` element from which the user can select a FooCoding repository. This `select` element must be populated with `option` elements, one for each FooCoding repository.
2. A left-hand column that displays basic information about the selected repository.
3. A right-hand column that displays a list of contributors to the repository.
diff --git a/Week1/README.md b/Week1/README.md
index 6756bb92d..3f0e38109 100644
--- a/Week1/README.md
+++ b/Week1/README.md
@@ -2,9 +2,9 @@
```
In week one we will discuss the following topics:
-• Structure for a basic SPA (Single Page Application)
• XMLHttpRequests
• API calls
+• Structure for a basic SPA
```
Here are resources that we like you to read as a preparation for the first lecture:
@@ -31,4 +31,4 @@ Here are resources that we like you to read as a preparation for the first lectu
### Handing in homework using GitHub pull requests
-- [Handing in homework](https://github.com/HackYourFuture/fundamentals/blob/master/fundamentals/homework_pr.md)
+- [Handing in homework](https://github.com/FooCoding/fundamentals/blob/master/fundamentals/homework_pr.md)
diff --git a/Week1/search.html b/Week1/search.html
new file mode 100644
index 000000000..b5d3f1897
--- /dev/null
+++ b/Week1/search.html
@@ -0,0 +1,72 @@
+
+
+