A simple way to count characters and words in JavaScript (beginner-friendly)

· Dev.to