Exercises: The querySelector API - DOM In Depth
Автор: Tech with Nader
Загружено: 2023-01-23
Просмотров: 1134
Let's go through some exercises to get some practice with the querySelector API in Javascript together.
We start with a warmup exercise to select the Google image logo from their hompage.
In exercise 2, we look at a the Wallhaven website to pick out an IMG tag from the list of image cards.
Then, we try to grab all of the "src" attributes for all the IMG tags on the first page of the Wallhaven.
We wrap up the video by trying to get all the "href" attributes of the NAV bar of the Wallhaven site.
Chapters:
00:00 Introduction
00:27 Warmup Exercise - Google Logo Selector
08:42 Exercise 1 - Wallhaven IMG Selector
18:30 Exercise 2 - Wallhaven ALL src Selector
28:20 Exercise 3 - Wallhaven ALL href Selector
37:30 Next Steps
📦 Github Repository with the notes and exercise code+solutions: https://github.com/Nooder/dom-in-depth
💬 Come join us on Discord to chat with a like-minded community about tech and learning: / discord
🏅Support the channel and content through Super Thanks, Channel Memberships, or on Patreon: / techwithnader
Доступные форматы для скачивания:
Скачать видео mp4
-
Информация по загрузке: