javascript get li innnertext matches code example Example: change innertext javascript element.innerText = "Hello World";