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
1 ответ
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.