Learn Fetch API In 6 Minutes

JavaScript / Web 1.4M צפיות 15/10/2019
פתח ב-YouTube

דרג סרטון זה

התחבר כדי לדרג

תיאור

*Master JS array methods* with my *FREE JS Array Methods Cheat Sheet* - _20+ methods_ 👉 https://webdevsimplified.com/js-array-methods-cheat-sheet.html *Become a web developer* with my *FREE Web Development Roadmap* - _260+ videos, 120+ projects, 60+ articles_ 👉 https://webdevsimplified.com/web-dev-roadmap.html Accessing data from an API is one of the most common things you will do in web development, and the way to access APIs is with fetch. Fetch is function built into JavaScript that allows you to query any URL/API to get back data. The most important part is that fetch is asynchronous so it will run in the background and let you know when it finishes using promises. In this video I will show you exactly how to use fetch, and all of the common mistakes people make using fetch so you can get up and running in just six minutes. 📚 Materials/References: Fetch Article: https://blog.webdevsimplified.com/2022-01/js-fetch-api Learn Promises In 10 Minutes Video: https://youtu.be/DHvZLI7Db8E Async Await Tutorial: https://youtu.be/V_Kr9OSfDeU 🧠 Concepts Covered: - What the fetch API is - How to use the fetch API - How to handle API response errors - How to use JSON data with fetch 🌎 Find Me Here: My Courses: https://courses.webdevsimplified.com Patreon: https://www.patreon.com/WebDevSimplified Twitter: https://twitter.com/DevSimplified Discord: https://discord.gg/7StTjnR GitHub: https://github.com/WebDevSimplified CodePen: https://codepen.io/WebDevSimplified #Fetch #WDS #JavaScript

#Web Dev Simplified