From 44fb2d92e81ab1227ef8cde4fc6a6547da3b3f5f Mon Sep 17 00:00:00 2001 From: Dinesh Kumar Sutihar Date: Wed, 2 Oct 2024 14:47:44 +0530 Subject: [PATCH 1/2] feat: add real-time character counter for text box --- index.html | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/index.html b/index.html index 482d4ed99..1099bc7bc 100644 --- a/index.html +++ b/index.html @@ -57,6 +57,9 @@

Have a play.

+ +

Characters:

+
Download PDF @@ -102,5 +105,24 @@

Have a play.

+ + + From bd8703308a1fdb26d19815c06765ee02064e9954 Mon Sep 17 00:00:00 2001 From: Dinesh Kumar Sutihar Date: Wed, 2 Oct 2024 19:37:19 +0530 Subject: [PATCH 2/2] fix: refactor the code and remove new line form char count --- index.html | 26 ++++++++++++-------------- 1 file changed, 12 insertions(+), 14 deletions(-) diff --git a/index.html b/index.html index 1099bc7bc..defee070b 100644 --- a/index.html +++ b/index.html @@ -58,7 +58,7 @@

Have a play.

-

Characters:

+

Characters: 0

@@ -106,22 +106,20 @@

Have a play.

- +