/iws-live-test

Primary LanguageJavaScript

Fetch repos from the github api

base endpoint

https://api.github.com/search/repositories?q=''

TASK - 1

  • get all repositories and display list of repos
  • have a loading state as you make a request
  • handle errors
  • load more CTA - on click it should fetch the next page os repos
  • add some basic styles think of the user (the file is scss)

TASK - 2

  • Take a given array and return a multi-dimensional array

2.1

  • Take a given array of integers and return the array each item -1

2.2

  • Take a given array of integers and return the sum of all integers