/CCL-VowelCounter

count vowels with JavaScript!

Primary LanguageJavaScript

CCL-VowelCounter

count vowels with JavaScript!

The Task:

Create a function that takes a string as input and returns the number of vowels in the string.

Task Analysis

Variables (Nouns)

  • counter (keep track of the number of vowels)
  • inputString
  • numberOfVowels
  • vowels

Functions (Verbs)

  • getNumberOfVowels
  • cleanString