Challenge: Fetching Content from Hygraph with GraphQL

In this challenge, you are required to perform two tasks.

Task 1: Fetch all categories from the Hygraph API

On our home page, we have a categories section. This category section is added via a component.

Get hands-on with 1400+ tech skills courses.