The list directive

Report a typo

Order the code below so that it generates a list of products, each product in a div with its image and name.

Images should be on top of names. Be careful to the indentation.

Reorder lines using drag or arrows. Adjust indentation with left buttons
                <#list products as product>
              
                <div>
              
                <img src="${product.imageUrl}">
              
                </div>
              
                </#list>
              
                <p>${product.name}</p>
              
___

Create a free account to access the full topic