Skip to content
This repository was archived by the owner on May 14, 2024. It is now read-only.

Commit 8196acc

Browse files
HYF -> FooCoding
1 parent 82ab2f3 commit 8196acc

File tree

6 files changed

+36
-35
lines changed

6 files changed

+36
-35
lines changed

Week1/MAKEME.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ _This homework is more extensive and challenging than previous homework! Please
1919
2020
You are going to write a _Single Page Application_ (SPA) that uses the [GitHub API](https://developer.github.com/guides/getting-started/).
2121

22-
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:
22+
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:
2323

2424
- The user should be able to select a repository from a list of available repositories.
2525
- The application should display high-level information about the selected repository and show a list of its contributors.
@@ -36,15 +36,15 @@ A live version of this application can be found here: [http://hyf-github.netlify
3636

3737
### 1.2 The GitHub API
3838

39-
#### 1.2.1 Get a list of HYF repositories
39+
#### 1.2.1 Get a list of FooCoding repositories
4040

41-
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)):
41+
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)):
4242

4343
```
44-
https://api.github.com/orgs/HackYourFuture/repos?per_page=100
44+
https://api.github.com/orgs/foocoding/repos?per_page=100
4545
```
4646

47-
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.
47+
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.
4848

4949
<small>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.</small>
5050

@@ -62,7 +62,7 @@ You can find detailed information about the GitHub API by means of the link list
6262
6363
### 1.3 Coding Style
6464

65-
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:
65+
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:
6666

6767
- [Airbnb JavaScript Style Guide](https://github.com/airbnb/javascript)
6868

@@ -146,10 +146,10 @@ _**Do not change or delete any files outside of the `homework` folder!**_
146146
| `createAndAppend` | A utility function for easily creating and appending HTML elements. |
147147
| `main` | Contains the start-up code for the application. |
148148

149-
`index.js` also contains a constant with the URL for the HYF repositories as listed in section 2.2.1:
149+
`index.js` also contains a constant with the URL for the FooCoding repositories as listed in section 2.2.1:
150150

151151
```js
152-
const HYF_REPOS_URL = 'https://api.github.com/orgs/HackYourFuture/repos?per_page=100';
152+
const REPOS_URL = 'https://api.github.com/orgs/foocoding/repos?per_page=100';
153153
```
154154

155155
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
162162

163163
It should include the following components:
164164

165-
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.
165+
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.
166166
2. A left-hand column that displays basic information about the selected repository.
167167
3. A right-hand column that displays a list of contributors to the repository.
168168

Week3/MAKEME.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ The `App.js`, `Repository.js` and `Contributor.js` files each contain skeleton c
6969

7070
_Read:_
7171

72-
- HYF fundamental: [ES6 Classes](https://github.com/HackYourFuture/fundamentals/blob/master/fundamentals/oop_classes.md#es6-classes)
72+
- FooCoding fundamental: [ES6 Classes](https://github.com/foocoding/fundamentals/blob/master/fundamentals/oop_classes.md#es6-classes)
7373
- More on ES6 classes: [ES6 Classes in Depth](https://ponyfoo.com/articles/es6-classes-in-depth)
7474

7575
#### 2.2.3 ARIA-compliance (BONUS)

homework/App.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,6 @@ class App {
7676
}
7777
}
7878

79-
const HYF_REPOS_URL = 'https://api.github.com/orgs/HackYourFuture/repos?per_page=100';
79+
const REPOS_URL = 'https://api.github.com/orgs/foocoding/repos?per_page=100';
8080

81-
window.onload = () => new App(HYF_REPOS_URL);
81+
window.onload = () => new App(REPOS_URL);

homework/index.html

Lines changed: 21 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,24 @@
11
<!DOCTYPE html>
22
<html lang="en">
3+
<head>
4+
<meta charset="UTF-8" />
5+
<meta
6+
name="viewport"
7+
content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"
8+
/>
9+
<meta name="theme-color" content="#000000" />
10+
<meta name="apple-mobile-web-app-capable" content="yes" />
11+
<meta name="mobile-web-app-capable" content="yes" />
12+
<meta name="format-detection" content="telephone=no" />
13+
<link rel="apple-touch-icon" href="./hyf.png" />
14+
<link rel="shortcut icon" type="image/png" href="./hyf.png" />
15+
<title>FooCoding-GITHUB</title>
16+
<link href="https://fonts.googleapis.com/css?family=Roboto:400,700" rel="stylesheet" />
17+
<link rel="stylesheet" href="./style.css" />
18+
</head>
319

4-
<head>
5-
<meta charset="UTF-8">
6-
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
7-
<meta name="theme-color" content="#000000">
8-
<meta name="apple-mobile-web-app-capable" content="yes">
9-
<meta name="mobile-web-app-capable" content="yes">
10-
<meta name="format-detection" content="telephone=no">
11-
<link rel="apple-touch-icon" href="./hyf.png">
12-
<link rel="shortcut icon" type="image/png" href="./hyf.png" />
13-
<title>HYF-GITHUB</title>
14-
<link href="https://fonts.googleapis.com/css?family=Roboto:400,700" rel="stylesheet">
15-
<link rel="stylesheet" href="./style.css">
16-
</head>
17-
18-
<body>
19-
<div id="root"></div>
20-
<script src="./index.js"></script>
21-
</body>
22-
23-
</html>
20+
<body>
21+
<div id="root"></div>
22+
<script src="./index.js"></script>
23+
</body>
24+
</html>

homework/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
});
4242
}
4343

44-
const HYF_REPOS_URL = 'https://api.github.com/orgs/HackYourFuture/repos?per_page=100';
44+
const REPOS_URL = 'https://api.github.com/orgs/foocoding/repos?per_page=100';
4545

46-
window.onload = () => main(HYF_REPOS_URL);
46+
window.onload = () => main(REPOS_URL);
4747
}

homework/index2.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
<meta name="format-detection" content="telephone=no" />
1313
<link rel="apple-touch-icon" href="./hyf.png" />
1414
<link rel="shortcut icon" type="image/png" href="./hyf.png" />
15-
<title>HYF-GITHUB</title>
15+
<title>FooCoding-GITHUB</title>
1616
<link href="https://fonts.googleapis.com/css?family=Roboto:400,700" rel="stylesheet" />
1717
<link rel="stylesheet" href="./style.css" />
1818
</head>

0 commit comments

Comments
 (0)