Kenny Chen (TW)
KPCKevin Powell - Community
•Created by Kenny Chen (TW) on 6/28/2023 in #front-end
Twitter clone - Post component
Requirement:
It is possible to set the upper limit of words in the Search box, If the upper limit is exceeded, the Submit button cannot be clicked, and the background of the text that exceeds the upper limit will be displayed The color is shown in red.
For example, the upper limit of the text is 3. When the user enters ABCD, only the background of D will be dyed red at this time
how twitter make it?
7 replies