'Display 1d dictionary in a table format

I've got one dimensional dictionary:

var dict = {
    "@id": "way/39361955",
    "addr:housenumber": "20",
    "addr:street": "улица Шокана Валиханова",
    "building": "yes",
    "building:levels": "2"
}

And now I want to display it as a table with columns [1, 2] and 5 rows in HTML using javascript. Expected output: enter image description here



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source