0

I want to do array like this with innerHTML and append it. Thanks you i have error.

Array like this déclaration. https://code.sololearn.com/Wx2SplCDaJB7/?ref=app

6th Apr 2021, 6:01 AM
Malick Diagne
Malick Diagne - avatar
1 Resposta
0
Can you rephrase that question? You say you have an error but what are you referring to? I don't see any JavaScript error from your code and the output isn't different from what you want in any obvious way. I see you made p elements for every Array element and used innerHTML which is basically what you seem to want to do in your question. Again, I'm left not seeing your problem.
6th Apr 2021, 7:56 AM
Josh Greig
Josh Greig - avatar