I wrote some code using meteor, which is working, but I don't know if I did it the best way.  I'm asking for opinions on other ways to perform this task.It's just a list of places.  You can fill the textfield with a place and it'll appear on the list.  You have an option to remove the place by clicking on the x.Very simple, but I'm new to meteor.place_list.js   Places = new Meteor.Collection('placesNew');   if(Meteor.isClient){     Template.places_list.places = function(){       return Places.find({},{sort:{name: 1}});      console.log(Template.place_list.place);      }   Template.places_list.events({     'blur .place': function (obj) {       Places.insert({name: obj.target.value});     },     'click .plc_remove': function(obj){       Places.remove( obj.toElement.attributes['data-ref'].value);     }   });}place_list.html<head>  <title>Place List</title></head><body>  <h1>Place List :</h1>    {{> places_list}}</body><template name=places_list>  <input type=text placeholder=Insert a place here class=place />  <ul>  {{#each places}}     <li> {{ name}} | <a class=plc_remove data-ref={{_id}} href=#>x</a> | </li>  {{/each}}  </ul></template>
Better way to write list of places program
javascript;beginner;meteor