3- Create a new post. Unsure why this isn't working



I've followed the steps and my code even looks exactly what the hint says it should look like, yet I'm getting this error:

Oops, try again. It looks like the Post button didn't add a new message. Remember to prepend a new li element inside the event handler.

EDIT: So I copied and pasted the code stated in the hint and now it's working. Is this just a bug or was there actually something wrong with my code?

var main = function() {
        var post =  $('.status-box').val();



HI this line


its missing the dot to 'btn' should be '.btn'


That would do it :disappointed_relieved::grin: Thank you very much. This is why long hours of coding are bad for you. Always take a break every now and then, even if it's just for 5 minutes. Otherwise little things like that are hard to spot.


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