Hello,

I'm attempting to build HTML from JSON by reading it with a loop statement.

This is what I came up with thus far:

feedItems = {
  "div": "feed",
         "attributes": {
           "style" : "language",
         },
         "children" : {
           "div": "title",
           "div": "subtitle",
           "div": "links-bar",
           "div": "entry", // multiple alike
                  "attributes": {
                    "style" : "language",
                  },
                  "children" : {
                    "div" : "title",
                    "attributes": {
                      "href" : ["url", "id"],
                      "id" : "id",
                    },
                    "div" : ["authors", "author"],
                    "div" : ["date_published", "date_modified"],
                    "div" : ["content_html", "content_text"],
                    "div" : "image",
                    "div" : "tags",
                  },
           }
};

/* NOTE Handling attributes
"attributes": {
  "style" : { 
    "direction" : "language"
  }
} */