0

Can someone enlighten me using these two:

var x = document.getElementById(" ").innerHTML = " "; ....... var x = document.getElementById(" "); x.innerHTML = " "; what is/are the difference/s between these two? Well, both won't work when I'm practicing in Code Playground. Please visit my code ("MAKING")

27th Jul 2019, 10:55 AM
Johnny Deguzman
Johnny Deguzman - avatar
3 Antworten
+ 1
If you need help, please show your code - maybe you made it private, so it's not visible and then maybe someone can help you.
27th Jul 2019, 11:07 AM
TheWh¡teCat 🇧🇬
TheWh¡teCat 🇧🇬 - avatar
+ 1
Please look at the corrected code. Hope it helps you 😉 https://code.sololearn.com/WLeyTvYMH7x5/?ref=app
27th Jul 2019, 12:21 PM
TheWh¡teCat 🇧🇬
TheWh¡teCat 🇧🇬 - avatar
0
It's public now.
27th Jul 2019, 11:11 AM
Johnny Deguzman
Johnny Deguzman - avatar