HTML Element Selectors In JavaScript | JavaScript Tutorial In Hindi #14

HTML Element Selectors In JavaScript | JavaScript Tutorial In Hindi #14

CodeWithHarry

5 лет назад

224,925 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

Pankaj Kirodiwal
Pankaj Kirodiwal - 05.10.2023 14:46

nahi ho raha red color..

Ответить
Shubham Dubey
Shubham Dubey - 28.07.2023 19:45

Bhai aawaz bahut km hai

Ответить
Vivek Reddy
Vivek Reddy - 04.06.2023 16:16

why in hindi man

Ответить
Bhumika
Bhumika - 29.04.2023 15:25

Failed to load resource: the server responded with a status of 404 (Not Found)
pls help me with this error i have my files connected properly.

Ответить
Moviehook
Moviehook - 27.10.2022 21:24

Thanx Harry

Ответить
Rajni Saini
Rajni Saini - 18.10.2022 22:39

Thank you so much sir. your videos are really helpful, well explained and understandable .

Ответить
Mohd Amir
Mohd Amir - 08.09.2022 19:28

Array.from(document.body.getElementsByTagName("p")).forEach(function(ele){console.log(ele.innerText)})

Ответить
vinayak sharma
vinayak sharma - 20.08.2022 18:04

Thank You Harry Bhai!!!

Ответить
Nipun Shrivats
Nipun Shrivats - 16.08.2022 15:11

sare div green hue hai isme

Ответить
Malik Asad 1010
Malik Asad 1010 - 04.07.2022 18:27

what a foolish video

Ответить
mayuri kale
mayuri kale - 01.07.2022 16:13

I would like to see you on Sundeep maheshwari stage..

Ответить
Uttam Sharma
Uttam Sharma - 22.06.2022 14:20

Sir when i use let it gives unexpected identifier error and when i use const it doesn't give ??

Ответить
Shiva Singh
Shiva Singh - 21.06.2022 11:25

i am not getting output in console after writing
let element = document.getElementById('myfirst');
console.log(element);
O/p in console is 'null'
why is this happening?
if you know please let me know

Ответить
Supriya Kore
Supriya Kore - 16.06.2022 09:20

*Thanks *

Ответить
PRINCE SUKHALA
PRINCE SUKHALA - 10.06.2022 14:35

Done done again

Ответить
Shreya Singh
Shreya Singh - 03.06.2022 17:42

Challenge Accepted

//Using forEach
let string = 'javascript;
let ourLink = document.links;
//console.log(ourLink[0]);
Array.from(ourLink).forEach(function(element) {
if(element.href.includes(string)){
console.log(element);
}
});

//Using For
var myLink = document.links
for(i=0; i< myLink.length; i++){
let myString= myLink[i].href.toString();
if(myString.includes('javascript')){
console.log(myLink[i]);
}
}

Ответить
Saul Goodman
Saul Goodman - 01.06.2022 17:52

as a non css user, it was really hard to understand this tutorial.

Ответить