Dynamic html table from Json response.
Tech Master
Posted on April 2, 2020
Hello,
I am a newbie a want to make a simple static corona tracker website but the problem is that the data which i want to use is in json
format.
So my question is how can i generate a dynamic html table from json response i get from the API?
For Reference, link of json data is
https://covid-rest.herokuapp.com/pakistanThe api response is of the following type:
{"code":200,"message":"OK","data":{"country_name":"pakistan","total_cases":"2291","new_cases":"173","total_death":"31","new_death":"4","total_recovered":"107","active_cases":"2153","critical_cases":"12","tot_cases_per_million":"10","tot_death_per_million":"0.1"}}
💖 💪 🙅 🚩
Tech Master
Posted on April 2, 2020
Join Our Newsletter. No Spam, Only the good stuff.
Sign up to receive the latest update from our blog.