0
Why the color of the text isn't changing?
https://code.sololearn.com/WKhLuOq8g5b4/?ref=app And yeah one more question.. Why 'w' of 'wow' I mean first character of the text is absent?
7 Respuestas
+ 1
to change ur text color, get the element(u can use the body element) and use style.color property
eg:
document.body.style.color = "yellow"
+ 2
You have to write bg color insted of style
+ 1
prob what u want is
if (x == txt.length) clearInterval(y);
also, this wont get called actually..
try to put it inside the show function
+ 1
i see the color changes now..so, yup..
0
why u have two "x" variables?
0
Pramesh does not bg color change background color?
0
Lily I have changed my code.. is it ok now?