You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 14, 2024. It is now read-only.
Copy file name to clipboardExpand all lines: Week1/MAKEME.md
+10-6Lines changed: 10 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -74,7 +74,7 @@ Figure 1 below shows an example of what your application will look like.
74
74
This application does 2 things:
75
75
76
76
1. It makes connection to the GitHub API and retrieves all the repositories found in the [HackYourFuture account](https://www.github.com/hackyourfuture).
77
-
2. It displays those repositories in an alphabetically-oreded list. When a user clicks on any of the repository names it will show more details about it.
77
+
2. It displays those repositories in an alphabetically-ordered list. When a user clicks on any of the repository names it will show more details about it.
78
78
79
79
### Getting an overview
80
80
@@ -127,20 +127,24 @@ As you'll experience in your job, you'll be exposed to an already existing codeb
This URL is special, as it gives us data in JSON format (Try it out in your browser!). This type of URL is also known as an `endpoint`, an address that we can use to send a request to in order to get data. Learn more about endpoints [here](https://smartbear.com/learn/performance-monitoring/api-endpoints/).
130
+
This URL is special, as it gives us data in JSON format (Try it out in your browser!). This type of URL is also known as an `endpoint`, an address that we can use to send an HTTP request to in order to get data.
131
131
132
-
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, which we know because it says so in the [API documentation](https://developer.github.com/v3/#pagination)).
132
+
- Learn more about endpoints [here](https://smartbear.com/learn/performance-monitoring/api-endpoints/).
133
+
134
+
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. How do we know? It says so in the [API documentation](https://developer.github.com/v3/#pagination)).
135
+
136
+
> Before using a public API it's always best practice to read the documentation. The developers have written down exactly how to understand and use it!
133
137
134
138
### Week 1 Assignment
135
139
136
-
The assignment for this week is to produce a functional application that looks similar to Figure 1:
140
+
The assignment for this week is to produce a functional web application that looks similar to Figure 1:
137
141
138
142

139
143
140
-
Functionally, the application should do the following:
144
+
Here are the basic requirements:
141
145
142
146
1. Make a HTTP Request to the endpoint: https://api.github.com/orgs/HackYourFuture/repos?per_page=100
143
-
2. Display the first 10 items in the HTML file (write JavaScript to add element to the DOM)
147
+
2. Display the first 10 items in the HTML file (write JavaScript to add the elements to the DOM)
0 commit comments