+ 1

.innerHTML() instead of .text()

I shared a part of my code. With .text() it is working perfect. Do text() and innerHTML() work differently? https://code.sololearn.com/WI9nb4InTl30/?ref=app

12th Apr 2019, 6:02 AM
Bakhrom Akbarov
Bakhrom Akbarov - avatar
1 Odpowiedź
+ 3
It’s html()
12th Apr 2019, 6:09 AM
Toni Isotalo
Toni Isotalo - avatar