0
What is error? On PC everything is ok. I checked all code. But this app. gives error.
4 Antworten
+ 5
A closing } is missing
+ 4
add this in js section then write the code
window.onload=function(){
// JS code goes here
var work = document.getElementById("work");
work.onclick = function () {
var div = document.getElementsByTagName ('div')[0];
div.classList.toggle('hide');
div.classList.toggle('work');
}
}
+ 1
o... Anna, you saved my live ))
+ 1
Anna has shown me the issue I had got. Already fixed. Thanks.