I am using console on google chrome to edit the web page. I could just use inspect element and change what I am trying to change, but after discovering I could do this on the console... I wanted to do it that way.
Here is the code of the website as it is now:
I am trying to replace Mountain, Rocky so it says "Mountain, Appalachia"
So far, I've tried: document.getElementByTagName("li")[12].replaceWith("Name:Mountain, Rocky ");
and lots of other combinations (replacing the quotes inside the replaceWith with ", just writing "Name: Mountain, Appalachia " and nothing works
most of the time the change I want to make shows up in the "Name:" part and the Mountain, Rocky goes away.
How do I maintain the Name: and the Mountain part of the code?