MCQs > Website Designing & Development > BackBone.js > Which code is correct to create a template in Backbone.js?

BackBone.js MCQs

Which code is correct to create a template in Backbone.js?

Answer

Correct Answer: <script type="text/template" id="website-list-template"> <table> <thead> <tr> <th>Name</th> <th>Aboutme</th> <th>Portfolio</th> </tr> </thead> <tbody> <% _.each(pages, function(web) { %> <tr> <td><%= web.get('name') %></td> <td><%= web.get('aboutme') %></td> <td><%= web.get('portfolio') %></td> </tr> <% }); %> </tbody> </table> </script>

Explanation:

Note: This Question is unanswered, help us to find answer for this one

BackBone.js Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

search

BackBone.js Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it