0

My button onClick toggle is not display. Thanks you sir.

my button onClick is not display in browser. https://code.sololearn.com/WX6951cZ7PlD/?ref=app

4th Sep 2021, 11:33 AM
Malick Diagne
Malick Diagne - avatar
1 Resposta
0
I’ve tried your web file (HTML File) in a standalone editor with Browser and it works perfectly. Is it all kind of Browser eg. Safari, microsoft Edge, Chrom, Firefox and so on? Sometimes a browser gives an error because the chosen browser cant read the code as it supose to or something is turned on or off in the browser settings. I’m not a super HTML5, JavaScript and or React etc. but as told abowe I know its written some browsers cant do a specific thing if a specific script or tag have been used in the web page. Think it might would seems more perfect if when the button says ON then the text must be set to Off and visa versa. Hope you can see the idea “Press the button and youll get the oposite text. Anyway its seems to look like an advance coding job you have done here. Personal I’ll be proud if i could do that in free-hand 💯👍 Wish you a very happy coding
5th Sep 2021, 8:49 PM
{Short Break atm} Claus Arnt Rasmussen
{Short Break atm} Claus Arnt Rasmussen - avatar