Nila Apps interview question

Write a js program that can be add table rows dynamically, based on datas provided by the api response