- Fork the Javascript 3 repo
- Clone the repo to the local machine
- Create a new branch
- Create a file called steps.md
- Write the steps to connect to the Github API:
- making an XHR object
- adding an event handler on the XHR object
- checking if the readystate is equal to 4 (done), and the status is 200 (successful) and excuting a function if the condition was met
- defining a function to create an HTML element and change its content to the xhr "responseText"
- another if statment to check if the status is 404 (not found), if so display something to tell the user that this page doesn't exist
- using the method open on the XHR object with the parameter "get", and the url
- using the method send() on XHR, to send the request to the server