Skip to content

Latest commit

 

History

History
35 lines (21 loc) · 688 Bytes

README.md

File metadata and controls

35 lines (21 loc) · 688 Bytes

Text Dots Counter (Javascript)

I attended in a Front-end challenge, and this was one of project task.

JS script (web-based) to count number of dots inside characters.

For example i have one dot, and p not have a dot.

Supported languages:

  • English
  • Persian
  • Arabic

Demo: https://basemax.github.io/TextDotsCounterJS/

JavaScript Text Dots Counter

Challenge

چطوری عزیز

Should have 7 dots.

As you see "ی" when is at middle of a word it has 2 dots but when you put "ی" at end of a word, it not has a dot.

And,

Hi there?

Should have 1 dots. (Only i has one dot)