DEV Community

Cover image for Why do we have APIs in JavaScript?

Why do we have APIs in JavaScript?

Sapinder Singh on October 01, 2021

You've most likely heard of the term API if you have ever worked with JavaScript. There're a ton of them such as- DOM, Storage, Fetch, Canvas, Hist...
Collapse
 
sanampakuwal profile image
Sanam

Great post πŸŽ‰

Collapse
 
nepha profile image
nepha199

Thanks to this I can finally understand why they were called APIs despite using them as JS methodsπŸ€¦πŸ½β€β™‚οΈ

Collapse
 
sapinder_dev profile image
Sapinder Singh

I’m glad that it’s helpful!

Collapse
 
westerndad profile image
westerndad

Great post😁

Collapse
 
1satwinder profile image
1satwinder

Enjoyed. Keep going

Collapse
 
oesso profile image
Joseph Osorio

Nice post. I just saw a good video on this in a Jamstack scenario and reading about it helped me understand API even more. This was nice and simple.

Collapse
 
sapinder_dev profile image
Sapinder Singh

Thanks Joseph! It inspired me to write even better!

Collapse
 
omar04342220 profile image
Omar Saudi

Great post.

Collapse
 
sapinder_dev profile image
Sapinder Singh

Thanks Omar πŸ™

Collapse
 
reactivepeakstudios profile image
ReactJSX

Great read!

Collapse
 
pachverb profile image
new/bird

can you explain clouser in javascript?

Collapse
 
sapinder_dev profile image
Sapinder Singh

Maybe in one of my next posts :)