CodeWithHarry/TextUtils-React

A New Bug Found

krish-ag opened this issue · 0 comments

In Your Text Utils when we press enter and start writing a new word, Your text utils doesn't not recognises those words...
Line 64 and 65 in TextFrom.js,

<p>{text.split(" ").length} words and {text.length} characters</p>
 <p>{0.008 *  text.split(" ").length} Minutes read</p>

you need to split and filter some things here ('filtering you already did but no commited the code yet as of now.'). you need to split things with "\n" as well (i guess by looping all of splitted and filtered by ' ').

I Don't have great Knowledge abt javascript but i have developed some websites in python-django...

Thanks For Your Great Tutorials 😊.