There is nothing wrong with wanting attention- it is the type of attention that a person might desire that makes it either a sin or a good.
If a person wants an affirmation that they are better than, or more important than others, then this is the sin of pride.
On the other hand, if a person simply wants to be noticed and loved, this is healthy, natural, and a great good.
Also, if one receives, and is pleased with, praise for one's good actions, this is wonderful when the person inwardly acknowledges that this praise is really due to God and not to his own intrisic merit. It is good to be humbly pleased at God's work done through us. It helps keep us on the right path. However, if the person takes credit for the good works he has done without acknowledging that all good comes from God, this is an evil.