How do I display decoded JSON data for a single array data in browser

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?

you surely know how to refer to object properties/array elements? is that what your issue is?

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.