3010–List Template with jQuery

Media Files

No media files provided.

Project Submission

+ Submit Assignment

Your submissions


Given the following data:

var data = [
  {name:"Thomas Mak", score: 90},
  {name:"Steven Wu", score: 85},
  {name:"John", score: 60},
  {name:"Marry Chan", score: 75},
  {name:"Jonna Tam", score: 50},
  {name:"Marcus", score: 35},
  {name:"Tony Lam", score: 96},

Please implement an ordered-list that user can switch different sorting (sort by name or sort by score).

You should use template approach to complete this project.


❓ Show help content