Shouldn't li have been 'let' as opposed to 'const' because we altered one of its properties (textContent)?
Louise St. Germain17,946 Points
Const is OK because it contains a reference to an HTMLElement object (in this case, an li list item), not to all the individual properties of the li. Even if properties inside the object change (which is what you're referring to), it's still pointing to that li object as a whole. Think of it as pointing to the address of a house on a street. People can come in and out of the house and you might remodel a room inside or paint the kitchen, but the house's street address is still the same.
I hope this helps!