Message from JavaScript discussions

June 2018

— Can also and should be
elements[i].innerHTML=elements[i].innerHTML.toUpperCase()

— 

Array.from(document.getElementsByClassName('test'))
.forEach(element =>
element.textContent =
element.textContent.toUpperCase());

— Mh...thats cool...I tried the map and forEach and the browser could not allow it...creating an array from it is new to me...but it works!!

Message permanent page

— For testing purposes, the first line should be ....Array.from(document.getElementsByClassName('test'))...

Message permanent page

— Instead of Array.from, you can also do:
[...getElementsByClassName('test')]

— Ahh yes

— [...stuffToArray] looks better imo

— Https://en.m.wikipedia.org/wiki/The_Cathedral_and_the_Bazaar

— Never, they bother me

— Facebook sucks except their open source tech

— You can use css, no need for js if u just want to display it in capital letters.

.desc {
text-transform: uppercase;
}

Message permanent page

— Could do [...document.bla bla] too