Created
September 16, 2024 08:42
-
-
Save giventofly/53e6b594fde7cea977f8d262919c3978 to your computer and use it in GitHub Desktop.
count umber of loans levvy.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let elements = document.querySelectorAll('.h-24'); | |
let totalLoan = 0; | |
elements.forEach(element => { | |
totalLoan++; | |
}); | |
alert('Total Loan: ' + totalLoan); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment