My code was like this
<button onclick="document.getElementById('myImage').src='pic_bulboff.gif'">
Turn off the light
</button>
and the next time I checked I found this:
<button onclick="document.getElementById("MyImage").src="pic_bulboff_off.gif"">
Apagado
</button>
Why does this happen in the code, because? Is there any consequence or is it harmful in any way? I would like to be aware of everything, thank you.