0

Hi guys, i hope you can help me to fix this problem. Why * inside forloop doesn't show on p tag. Sorry for my English.

https://code.sololearn.com/WP2Axj7ECgSX/?ref=app

24th Jul 2022, 6:58 AM
Wage
Wage - avatar
1 Resposta
+ 2
klik.innerHTML = "xxxxxx" replaces the innerHTML. You could do klik.innerHTML += "xxxxxx" instead. Or first build the element you want to have as the innerHTML and then set it at the end of your function.
24th Jul 2022, 7:05 AM
Alex
Alex - avatar