<%for (videoData of videos) { %> <div class='video'> <a href='/client/video?id=<%= videoData.id %>'> <img src='/videos/<%= videoData.id %>.png'> </a> <div><b> <%= videoData.title %> </b> </div> <div>by <a href="/client/user?id=<%= videoData.username %>"> <%= videoData.username %> </a></div> </a> </div> <% } %>