7/9 How (dare) "disable" as a formatting class affect the clickableness of the Post button?


I am not stuck, but I don't understand why "disable" affect the behavior of the "Post" button. Here is the direct link the exercise: https://www.codecademy.com/courses/web-beginner-en-hk5qh/0/7?content_from=make-an-interactive-website%3Ajquery-dom-manipulation

I see that the disable class comes from bootstrap stylesheet, but need an explanation as to what about the class exactly is making the POST button unclickable.

var main =  function () {

    $('.btn').click(function (event){
        var post = $('.status-box').val();
        var postLength=$(this).val().length;
        var charactersLeft = 140 - postLength;
        if (charactersLeft < 0) {
        } else if (charactersLeft === 140){
        } else {



Hi Rakhilya,

It's this line:

pointer-events: none;


It disables clicking and hover states from your pointer/cursor/mouse/whatever you want to call it, as well as keyboard focus.

In an actual app like Twitter, you'd want to have backend checks as well, since it's too easy to get around the limit we've put in place here though :slight_smile: