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
5 odpowiedzi
+ 7
function count(score1,score2){
document.getElementById('score1').innerHTML = score1;
document.getElementById('score2').innerHTML = score2;
}
+ 2
document.getElementById('score1').innerHTML=score1;
+ 1
in css
#all{
margin-top: 20px;
position: relative ;
left: 20
+ 1
use innerHTML not innerText
0
doesn't matter the css i just need the javascript