showing results for - "how to display image in html from json object"
Alberto
14 Sep 2019
1for (var i = 0; i < boldStuffs.length; i += 1) {
2    var fruit = getRandomItem(fruitsArray);
3    boldStuffs[i].innerHTML = fruit.name + '<img src="'+fruit.image+'">';
4}