Bug on codecademy interactive website page


#1



https://www.codecademy.com/courses/web-beginner-en-hk5qh/0/4?content_from=make-an-interactive-website%3Ajquery-dom-manipulation#


my code is correct. the comparison code in the "hint" box is wrong which prevents me from continuing to the next lesson. the interpreter is returning an unexpected token error on line 3. the codecademy "hint" is missing a ")" for the click event function.


var main = function(){
    $('.btn').click(function(){
        var post = $(".status-box").val();
        $('<li>').text(post).prependTo(".posts");
        $('.status-box').val('');
    });
}

$(document).ready(main);


#2

HI yes it's like a bug(kind of ..) just cahnge all your " " with ' ' so if uou have

$(".status-box").val();

you should put it like that 

$('.status-box').val();