beginner
Count the Vowels
Create a function to count the number of vowels in a given text string.
📝 Treść promptu
Write a function called countVowels that accepts a string as input. Return the total number of vowels (a, e, i, o, u) found in the string. Ensure your function handles both uppercase and lowercase letters.