Okay I have a small problem I want to make specific words in this string to be upperCase() or lowerCase().
This is what I originally tried:
function lcFunct() {
var a = "WelCome TO the Test I WANT all THIS to be LoWeRCAse"
document.getElementById("tests").innerHTML = a.str.replace(6,12).toUpperCase()
}
All I want to know is how to simply make certain words lowerCase
or upperCase
.