How can you display Typing Speed using Javascript or the jQuery library?

后端 未结 4 1500
-上瘾入骨i
-上瘾入骨i 2021-02-09 04:26

I would like to add a typing speed indicator just below the textarea we use on our contact form. It is just for fun and to give the user some interactivity with the page while t

4条回答
  •  再見小時候
    2021-02-09 04:47

    Here's a tested implementation,which seems ok, but I don't guarantee the math.

    A Demo: http://jsfiddle.net/iaezzy/pLpx5oLf/

    And the code:

    
    
    
        
            
            Type Speed
            
            
            
        
        
            

    CPM 0

    WPM 0

提交回复
热议问题