+ 6

how do you Change the color of the EXPIRED in js

https://code.sololearn.com/W0tv3k54ad5U/?ref=app

3rd May 2019, 12:30 PM
ANONYMOUS
ANONYMOUS - avatar
14 odpowiedzi
+ 9
The timer? But it shouldn't. Try to add those settings in js , and change the date , to make the text "expired" appear.
3rd May 2019, 2:24 PM
🍇 Alex Tușinean 💜
🍇 Alex Tușinean 💜 - avatar
+ 7
With: document.getElementById("demo").style.color="YourChoice" For background color: document.getElementById("demo").style.backgroundColor="your choice"
3rd May 2019, 12:38 PM
🍇 Alex Tușinean 💜
🍇 Alex Tușinean 💜 - avatar
+ 7
I see. But I tried to make him understand what should he do.😁 I didn't wanted to just give him the correct code.😊 Doing that feels like doing homeworks for someone else.😅
3rd May 2019, 2:33 PM
🍇 Alex Tușinean 💜
🍇 Alex Tușinean 💜 - avatar
+ 5
ya but when i do that it goes to -10 -3 -43
3rd May 2019, 1:35 PM
ANONYMOUS
ANONYMOUS - avatar
+ 5
no it called being helpful
3rd May 2019, 2:39 PM
ANONYMOUS
ANONYMOUS - avatar
+ 2
Alex Check out my solution. Works fine. Edit: Meant ANONYMOUS. Not Alex. Sorry m8. Lol
3rd May 2019, 2:31 PM
Daniel Cooper
+ 2
Normally, I'm all for that. But this is just one of those things where all you really need to do is look at it and figure out where you went wrong. Lol
3rd May 2019, 2:48 PM
Daniel Cooper
3rd May 2019, 2:24 PM
Daniel Cooper
0
سلام
3rd May 2019, 10:02 PM
Yossef Yossef
Yossef Yossef - avatar
0
Comment allez vous
3rd May 2019, 10:04 PM
Yossef Yossef
Yossef Yossef - avatar
0
I was summoned? Daniel Cooper
14th May 2019, 7:16 PM
Pyrocynical: Midlife Crisis Edition
Pyrocynical: Midlife Crisis Edition - avatar
14th May 2019, 9:04 PM
Daniel Cooper
0
"Alex Check out my solution. Works fine. Edit: Meant ANONYMOUS. Not Alex. Sorry m8. Lol" Daniel Cooper
14th May 2019, 9:07 PM
Pyrocynical: Midlife Crisis Edition
Pyrocynical: Midlife Crisis Edition - avatar
0
Oohhh I was confused by the name change and pfp change. You're Alex. Lol
14th May 2019, 11:43 PM
Daniel Cooper