Комментарии:
nahi ho raha red color..
ОтветитьBhai aawaz bahut km hai
Ответитьwhy in hindi man
Ответить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.
Thanx Harry
ОтветитьThank you so much sir. your videos are really helpful, well explained and understandable .
ОтветитьArray.from(document.body.getElementsByTagName("p")).forEach(function(ele){console.log(ele.innerText)})
ОтветитьThank You Harry Bhai!!!
Ответитьsare div green hue hai isme
Ответитьwhat a foolish video
ОтветитьI would like to see you on Sundeep maheshwari stage..
ОтветитьSir when i use let it gives unexpected identifier error and when i use const it doesn't give ??
Ответить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
*Thanks *
ОтветитьDone done again
Ответить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]);
}
}
as a non css user, it was really hard to understand this tutorial.
Ответить