I have successfully fetched data from an API URL that I developed, and the nested data from API is shown below.
{
"volcano": [
{
"id": 6,
"Name": "Krakatoa",
"Location": "USA",
"History": "The 1883 eruption of Krakatoa",
"Active": "dormant"
},
{
"id": 7,
"Name": "Krakatoa",
"Location": "USA",
"History": "The 1883 eruption of Krakatoa",
"Active": "dormant"
}
]
}
Now how do I display on browser not on console log, data of id no 6 only?