Notes for lesson 6 of CodeSchool's CoffeScript class

The following is my notes for the challenges on level 6 of of CodeSchool's CoffeeScript course (https://www.codeschool.com/courses/coffeescript).
6.1

coffee =
  name: 'Russian'
  level: 2
  isRussian: -> @name is 'Russian'

———————————

class coffee
  constructor: (@name, @level) ->
  isRussian: => @name is 'Russian'

6.2

coffee = new Coffee("Tim", 2)

6.3

class Coffee
  constructor: (name, level) ->
    @name = name
    @level = level or 0

  isRussian: -> @name is 'Russian'

————————————

class Coffee
  constructor: (@name, @level=0) ->
  isRussian: -> @name is 'Russian'

6.4

class Coffee
  constructor: (@name, @level=0) ->

————————

class Coffee extends Drink
  constructor: (@name, @level=0) ->
  serve: ->
    if @sleeve
      super()
    else
      return false

6.5

class DrinkLink
  watchClick: ->

————————

class DrinkLink
  watchClick: ->
    $('a').click () => $(@).css('color', '#F00')
6.6

class DrinkLink
  constructor: (@linkClicked=false) ->
  watchClick: ->
    $('.drink a').click (event) ->
      $(event.target).css('color', '#F00')
      @linkClicked = true

————————

class DrinkLink
  constructor: (@linkClicked=false) ->
  watchClick: ->
    $('.drink a').click (event) =>
      $(event.target).css('color', '#F00')
      @linkClicked = true