Automatically Embed Latest Videos from YouTube with JavaScript

Опубликовано: 26 Июнь 2026
на канале: Julia F Morgado
4,951
101

In this tutorial, you’ll learn how to make an HTTP request to Youtube’s API with the JavaScript fetch() method to automatically show the latest uploads on your page.

Full Code: https://github.com/juliafmorgado/auto...

-------------------------------------------------------------------------------------------------------------

TIME STAMPS
0:00 Intro
0:53 Files Setup
1:18 HTML Code
4:09 JavaScript Code
4:41 Building URL to send the GET request to
8:18 Sending the Fetch Request
13:31 Adding Catch Function
16:14 Debugging
17:30 CSS Code
18:45 Outro

#code #programming #tutorial #tips #coding #javascript
-------------------------------------------------------------------------------------------------------------

👋🏻Connect with me:
Website: https://juliafmorgado.com
Twitter:   / juliafmorgado  
LinkedIn:   / juliafmorgado  
GitHub: https://github.com/juliafmorgado
Instagram:   / juliafmorgado  
Twitch:   / juliafmorgado  

SUBSCRIBE TO MY CHANNEL:    / juliafmorgado   ❤️