JSFiddle - React, Tailwind, and code Playground

HTML

<script src="http://documentcloud.github.com/underscore/underscore-min.js"></script>
<script src="http://documentcloud.github.com/backbone/backbone-min.js"></script>
<a class="newnote" href="#">Add new note</a>

JavaScript

var note = Backbone.Model.extend({});

    var notes = Backbone.Collection.extend({
        model: note
    });

    var note_view = Backbone.View.extend({
        el: 'table',
    });

    var Appview = Backbone.View.extend({
        events: {
            "click a" : "showForm"
        },
        showForm: function(){
            alert('hi');
        }
    });

$(function(){
    
    var v = new Appview({el: $("body")});
});