# Backbone.js Tutorial - 11 - Introduction to Collections (ok)

![](https://2726517656-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M1E4Gk2ppVKb4olmnun%2F-MS2D-qtmonWC2jsGY7w%2F-MS2F4IcS2Ezo7FU5wJq%2FScreenshot_3.jpg?alt=media\&token=c1f09782-5328-4260-ab7e-1246c5998fa0)

C:\Users\Administrator\Desktop\gulp\app.js

```
StudentModel = Backbone.Model.extend({
	defaults: {
		name: "unknown"
	}
});
StudientCollection = Backbone.Collection.extend({
	model: StudentModel
});
jQuery(document).ready(function($) {
	var jony = new StudentModel();
	var vicky = new StudentModel();
	var classones = new StudientCollection([jony, vicky]);
	console.log(classones);
	console.log(classones.size());
});
```
