◈ In the "currentCount" variable, we have to store the current number of characters.
◈ So on each event, we have calculated the length of the characters minus the maximum length of the characters.
Eg:
280 - 12, if we input 12 characters in the input field.
◈ So on each event, we have calculated the length of the characters minus the maximum length of the characters.
Eg:
280 - 12, if we input 12 characters in the input field.
◈ After that, we have to change the maximum number with the current number on each event.
◈ So we need to change the maximum number with the current number using textContent inside the function.
◈ So we need to change the maximum number with the current number using textContent inside the function.
🔔 One more thing, if you want to learn the awesome projects from this series then you should follow this Github repository.
Don't forget to give a star ⭐ to this repository, also if you didn't follow me on GitHub then consider following me.
github.com
Don't forget to give a star ⭐ to this repository, also if you didn't follow me on GitHub then consider following me.
github.com
😍 This project is hosted on netlify, see and share your feedback!
😢 But there is a problem with textarea, but you can resize it as required.
twitter-count-down-atechajay.netlify.app
😢 But there is a problem with textarea, but you can resize it as required.
twitter-count-down-atechajay.netlify.app
That's all for now, we will meet in the next thread😍
But if you like make sure to:
1. Follow me @ATechAjay
2. Retweet the first tweet.
3. Turn on the notification to never miss these amazing tweets.
Thank you so much for staying to the end of this thread.
But if you like make sure to:
1. Follow me @ATechAjay
2. Retweet the first tweet.
3. Turn on the notification to never miss these amazing tweets.
Thank you so much for staying to the end of this thread.
Loading suggestions...