Fix console log to reflect updated length of titles

pull/1036/head
Hemanthh75 3 weeks ago committed by GitHub
parent e067490424
commit 7556d78f49
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -105,7 +105,7 @@ document.getElementsByClassName('classname')
const allTitles = document.getElementsByClassName('title')
console.log(allTitles) //HTMLCollections
console.log(allTitles.length) // 4
console.log(allTitles.length) // 3
for (let i = 0; i < allTitles.length; i++) {
console.log(allTitles[i]) // prints each elements in the HTMLCollection

Loading…
Cancel
Save