How to get data from an API with Javascript

preview_player
Показать описание
#javascript #shorts #code #webdevelopment #webdev #fetch #api #data #asyncawait #tipsandtricks #beginner #typescript
Рекомендации по теме
Комментарии
Автор

Thanks, I love this shorts you do where you explain key concept in JS or React simply for anyone to understand. They have been really helpful and understandable. Please keep doing them. Could you do some on using axios in react and also how to display data you fetch from an api on the browser. Thank You.

CodeWithRia
Автор

Yup, this is what I've started doing at work

SingularityFe
Автор

This is really helpful but how do you display the data that has been returned by the api?

Atomistry
Автор

Or just chain it with thens and a catch

guywhoplayz
Автор

Sir, I am golang developer, I dound myself forced to build a website with react and go, can you give quick tip how to access each element from json individually?

zahreddinesoualem
Автор

how do i access a random 3rd party api? For me, nothing is happening when I try to fetch from it even though I did what you did.

WidowSoundsNoCopyright
Автор

How different is it from getting data from maybe a Github repo

kseperepere
Автор

bro if we want to print that data into document ? then how can we use ??

xqcgjoy
Автор

But what if i dont want js to run the next line before getting data first ? Is there a way to block js in fetch line

ahmedahmedx
Автор

when/how do you that you can fetch without using async await?

v.