
Build a starting React project to fetch API data using the Chuck Norris API, with a search input that displays jokes based on your keyword.
Fetch and display API data in a React app by fetching jokes with Axios inside a useEffect, manage state with useState, and render the joke from the API.
Learn to fetch Chuck Norris jokes in a React app by searching with keywords, building a query with axios get, and displaying a random joke from the API results.
In this course you are going to learn how to fetch Api data using React
We are going to use the free Chuck Norris API, where you will be able to search for different keywords, and get back some jokes related to the category you just searched.
And finally don’t worry I will cover every single detail so you guys can easily follow along, even if you have little experience, I will add the full code in the end of the course!
By taking this course you will learn:
Learning outcome:
How to work with an API
How to Fetch API data with React
How to select multiple results
and much more…