Fetch a Chuck Norris API in JavaScript in 7 Minutes | API Basics

preview_player
Показать описание
There's a Chuck Norris API in town and it's going to make your life a bit more funny than usual.. Learn how to fetch the latest Chuck Norris quote with just a few lines of code.

Chuck Norris API:

Timestamps:
0:00 - Intro
0:32 - Introduction to the Chuck Norris API
1:00 - How to use Fetch
2:20 - How to get useable data from your response
3:35 - Using the map method to correctly display your data
5:05 - How to inject HTML into the DOM using JavaScript
6:35 - End result (Before CSS)
7:20 - End result (After CSS)
Рекомендации по теме
Комментарии
Автор

Very clear and the narration is lively. Definetly Looking forward to more videos

devinudy
Автор

any chance that you can make one to get a random joke at the command of a button click please? I can't do that :/

mbonnici
Автор

How can i set length of the number of jokes? Anybody, please.

three-zeros
Автор

I am a newbie, trying to learn API, I have basic level experience on JS. would you suggest me some basic video tutorials for leaning API pls...

elias
welcome to shbcf.ru