Interactive Website: Status Website; 7.Disable the Button 1


help! I have gone through every post, including the archived posts, in regards to this same issue.
var main = function() {
$('.btn').click(function() {
var post = $('.status-box').val();

  • ').text(post).prependTo('.posts');
     $('.status-box').keyup(function() {
        var postLength = $(this).val().length;
        var charactersLeft = 140 - postLength;
        if(charactersLeft < 0) {
        else if(charactersLeft === 140) {
        else {




    ERROR is as Follows:
    "Oops, try again. Remember to add the line $('.btn').addClass('disabled'); outside your keyup event handler"

    I've moved brackets, parenthesises, and all the colons in the world. I've taken every suggested edit and tried to repair the crude out of it for nothing. Now I have gone back in and essentially copy/pasted from the "hint"... buut... nothing. Same error. Any suggestions? is the suggested code in the hints just garbage? Any and all help will be greatly appreciated.

  • #2

    Hi Havahaja,

    Do you get passed if you refresh the page or switch browsers?


    Actually, I'm lucky enough to have a coder boyfriend. Apparently I was missing a symbol. Face, meet palm. Thank you for your response!