I get a reminder to update the "counter". Please advise what I have done wrong



Oops, try again. Remember to update the '.counter' to show how many characters are left.

var main = function() {
    $(".btn").click(function() {
        var post = $(".status-box").val();
    $("status-box").keyup(function() {
        var postLength = $(this).val().length; 
        var charactersLeft = (140 - postLength); 


Hi this line


it's missing the dot to "status-box" should be ".status-box"


Thanks- now it's all fixed!


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