+1 Button font color


#1


By the instructions my code works, and it does what it's supposed to, but I noticed in the sample, when clicking the +1 button, it accepts the "btn-like" class color #fff where mine does not and retains the "btn" class color.


var main = function() {
  $('.notification').click(function() {
    $('.notification-menu').toggle();
  });
  $('.btn').click(function() {
    $(this).toggleClass('btn-like');
  });
};


#2

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.