how do i loop values from an object and render them out in html?

can easily use :

 let renderedHtml=games.map(function(item){
       return `<h1>${item.name}</h1><a href="${item.url}"></a><img src="${item.imgFile}"/>`
    });

CLICK HERE to find out more related problems solutions.

Leave a Comment

Your email address will not be published.

Scroll to Top