how to display image in html from json file object code example
Example: how to display image in html from json object
for (var i = 0; i < boldStuffs.length; i += 1) {
var fruit = getRandomItem(fruitsArray);
boldStuffs[i].innerHTML = fruit.name + '<img src="'+fruit.image+'">';
}