JavaScript querySelector() vs querySelectorAll()

preview_player
Показать описание
#javascript #queryselector #queryselectorall
What is querySelector and querySelectorAll in JavaScript?
How do I get the value of a querySelectorAll?
JavaScript querySelector: Selecting Elements By CSS Selectors
HTML DOM Document querySelectorAll() Method
What is querySelectorAll in JavaScript?
How do you write querySelectorAll?
querySelector and querySelectorAll Example
JavaScript querySelectorAll
What is the difference between querySelector and querySelectorAll?
querySelector and querySelectorAll
Using querySelector and querySelectorAll

JavaScript | Select HTML elements

10 Seconds of JavaScript

JavaScript quick tips

JavaScript Shorts

JavaScript Arrays Shorts

JavaScript Arrays

JavaScript Classes Shorts

JavaScript Objects

JavaScript Fetch API TUTORIALS

An Example of JavaScript ...

JavaScript Classes

JSON

JavaScript vs CSS

100 SHORTS TO START LEARNING WEB DEVELOPMENT

🔗 JavaScript Scope

JAVASCRIPT LONGS

JavaScript functions

JAVASCRIPT FOR BEGINNERS

Javascript Challenge; first to know wins

Javascript ... Spread and ... Rest Operators

HTML SHORTS FOR BEGINNERS

Table (HTML, CSS, Bootstrap, Javascript, jQuery)

Javascript Clean Code

Visual Studio Code Shorts

Bootstrap Shorts

Long Tutorials HTML CSS JAVASCRIPT AND JQUERY

Jquery Shorts

HTML shorts

CSS Shorts
Рекомендации по теме
Комментарии
Автор

You are doing very well bro keep doing soo many shorts like this ..

johnvalishaik
Автор

For(const k of _) is better and easier loop for arrays

bruhboing
Автор

When I first used query select all, I was wondering why they all don't change and it seriously confused me.

Turns out; query select all puts all the elements you've selected into an array, and when you try to manipulate the variable containing this array, it only does the first one in the array index...

So using this exact method will iterate over the whole array with the change you want until the array length is complete.

Very good use for the for loop.

Islam-and-boxing
Автор

Super bro you just explained with in a seconds 💥💥

talk_programming
Автор

Nem precisar usar for para colorir todas as letras

lucassantiago
Автор

Bro its crazy you need all that code and an for loop just to color some letters lmao

Joneewars
Автор


You ruined my childhood
let _ = ...
From today I will call myself a variable nominator

isaacbaruccruzdasilva