0
Why doesn't this work?
7 ответов
0
it does work, nice try.
0
Its not working for me
0
you need to attach the function "myFunc" to DOMWindow Object to make it global:
document.addEventListener("DOMContentLoaded", function() {
window.myfunc = () => { document.getElementById("c").innerText = "text" };
})
0
ohh total different objective i was going for, sorry about that.
0
How can i make it go back and forth
0
is that what you're intented:
https://code.sololearn.com/WDWN0xJAm7J0/#html