I have a text file with code that I am trying to display in a table format. The first column should be the type of fruit, the second should be the quantity eaten, the third should be the quantity bought, and the fourth is the date and time of purchase.
I tried parsing the data and logging it to the console. That seems to work to visualize the data better, but I honestly have no idea how to actually display the data in a table. I am really new to coding in Javascript, so I don't understand the language very well.
This is my first post on this site so I am not really sure if I posted this properly.
link to
Code: https://pastebin.com/PxYASR2T