Here you find the readings you have to complete before the fifth lecture.
Give yourself (or your neighbour) a little tap on the shoulder, you've made it to JS2! 💪
Let's practice working with Objects and Arrays. Go to FreeCodeCamp and complete all challenges under "Object Oriented and Functional Programming" and the first four challenges under "Basic Algorithm Scripting", up until 'Find the longest word in a string.'
- Go to https://api.github.com/orgs/HackYourFuture/repos, you will see a list of the repositories our HYF organization has (yes it's a lot of JSON).
- You can copy the JSON and put it in a string at the top of your
.jsfile. Print the name of the 3rd repository in the array to the console. - Make a
<ul>with a<li>for each repository name (just like you did with the books in the previous assignment). - It should only display the modules that are actually being used in the curriculum at the moment, you of course know which those are, but if you need a reminder you can find them in our curriculum overview.
- Use CSS to divide the page in two columns. The left column will have a list of the names for repository. The right column should have the following information about each repository: the number of
stargazers, the number ofwatchers, the number offorks, thelanguageof the repository. - place the
avatar_url(logo) of our organization somewhere on a nice place in your page.
Give one of you fellow students in Github feedback about their code of step two, create an issue in their repo, telling them what they did great and what they can improve.
![]()
How to hand in your homework:
• Create a new repository "hyf-javascript2". Also create a new folder "week1" inside this repository.
• Upload your homework files inside the week1 folder and write a description for this “commit”.
• Your hyf-javascript2/week1 should now contain the files of your homework.
• Place the link to your repository folder in Trello.