Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/basemax/textdotscounterjs
JS script (web-based) to count number of dots inside characters. for example i have one dot, and p not have a dot. (Support English, Persian, and Arabic languages)
https://github.com/basemax/textdotscounterjs
assignment assignment-problem assignment-solutions assignments dom es6 javascript js
Last synced: 1 day ago
JSON representation
JS script (web-based) to count number of dots inside characters. for example i have one dot, and p not have a dot. (Support English, Persian, and Arabic languages)
- Host: GitHub
- URL: https://github.com/basemax/textdotscounterjs
- Owner: BaseMax
- License: gpl-3.0
- Created: 2021-11-19T16:25:01.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2022-12-12T13:14:30.000Z (about 2 years ago)
- Last Synced: 2025-02-04T07:15:42.178Z (6 days ago)
- Topics: assignment, assignment-problem, assignment-solutions, assignments, dom, es6, javascript, js
- Language: JavaScript
- Homepage: https://basemax.github.io/TextDotsCounterJS/
- Size: 320 KB
- Stars: 5
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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](preview.gif)](https://basemax.github.io/TextDotsCounterJS/)
## 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)