Suppose i have an java script Array in the following format,
[
"Heading 1",
"Heading 2",
"Data 1",
"Data 2",
"Data 3",
"Data 4",
]
I need to make a HTML table from the array in the following format
I've never dynamically created an HTML Table from Javascript.
Can anyone help me out?
Thanks in advance!