|Views Total:||37 views|
|Official Page:||Go to website|
|Last Update:||November 20, 2023|
If you’re a developer, you know how important tables are when it comes to presenting data on a website. However, creating tables manually can be a time-consuming task.
How to use it:
1. Download and import the maketable.min.js.
2. prepare your Thead & Tbody data in JS arrays.
let sourceOfThead = ["a", "b", "c"] let sourceOfTbody = [ [0, 1, 2], [3, 4, 5] ]
3. Generate an HTML table from the data you just provided.
maketable([sourceOfTbody, sourceOfThead], ["table-id", "table-class"])