Answer the question
In order to leave comments, you need to log in
Why did onclick stop working (probably after a browser update) and what should I do now?
Page https://z56.space/old/ - the "write" button and clicking on the image do not work. Previously worked. Chrome updates happen very imperceptibly and I suspect this is the case, since the old version cached in Google also does not work ( google.com/search?q=cache:z56.space )
I did not check it from other browsers / devices.
Answer the question
In order to leave comments, you need to log in
In general, of course, it is bad practice to write event handlers in the html code.
Even worse practice is to change css properties through js.
But it does not work, because "!important" is added only in css, not in the properties available through the js interface, because styles that you add directly to javascript already have the highest priority. Even higher than important.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question