0

whats wrong with this code!!!! everything works perfectly except the score !!! can you help me please !!!

tic tac toe game https://code.sololearn.com/W00q3x1EhZQF/?ref=app

8th Jun 2017, 4:11 PM
Vahan Soulian
Vahan Soulian - avatar
5 Answers
+ 7
function count(score1,score2){ document.getElementById('score1').innerHTML = score1; document.getElementById('score2').innerHTML = score2; }
12th Jun 2017, 5:02 PM
SANYABEAST
SANYABEAST - avatar
+ 2
document.getElementById('score1').innerHTML=score1;
8th Jun 2017, 4:53 PM
Melih Melik Sonmez
Melih Melik Sonmez - avatar
+ 1
in css #all{ margin-top: 20px; position: relative ; left: 20
8th Jun 2017, 4:16 PM
Melih Melik Sonmez
Melih Melik Sonmez - avatar
+ 1
use innerHTML not innerText
8th Jun 2017, 4:48 PM
Melih Melik Sonmez
Melih Melik Sonmez - avatar
0
doesn't matter the css i just need the javascript
8th Jun 2017, 4:25 PM
Vahan Soulian
Vahan Soulian - avatar