+ 4
Can anyone tell the mistake here why the CSS properties is not working
https://code.sololearn.com/WUaMW0OIpMFY/?ref=app When I click on next the next button calls a function and then defined the css of b in JavaScript then it's not working.
1 Odpowiedź
+ 11
@Aditya, Please ckeck your JS function second(), nothing is calling it after inputing 194 so call it first and also using style property with document.write will only output the code in the write method, try document.getElementById(id).style.color = "green";
//hope it helps