0

My code don't background tutu yellow. I do the correction. Thanks you.

Background tutu yellow. https://code.sololearn.com/WX4SZM926tTC/?ref=app

1st Feb 2021, 1:07 PM
Malick Diagne
Malick Diagne - avatar
2 Antworten
+ 2
Malick Diagne Remove this line because it is overriding your span data document.write (this.name + this.span.innerText ); https://code.sololearn.com/W0pbVlDaxW4G/?ref=app
1st Feb 2021, 1:33 PM
A͢J
A͢J - avatar
+ 1
line 10: this.span.innerText = this.name + " eat a lot of " + food ; and delete line 11 (document.write)
1st Feb 2021, 4:05 PM
visph
visph - avatar