Description: Currently, the countText() function only shows the word count. We need to extend it to also show the character count. Output example: Words: 10 | Characters: 52 File: script.js Hint: Use .length property after removing spaces if needed
Description: Currently, the countText() function only shows the word count. We need to extend it to also show the character count.
Output example: Words: 10 | Characters: 52 File: script.js Hint: Use .length property after removing spaces if needed