Unlimited Plugins, WordPress themes, videos & courses! Unlimited asset downloads! From $16.50/m
by
Lessons:24Length:2.4 hours
  • Overview
  • Transcript

4.6 Counting Ribbit Characters

Just like the real Twitter, our application limits ribbits at 140 characters. So let’s write some JavaScript that will keep score as a user writes their ribbit. That number will turn red when the count goes above 140, and won’t let the user post the ribbit.

Note: this feature wasn’t in the written tutorial.