Home My space log
Language EN (English)

Count the vowels

JavaScript Intermediate alien ages 11-13

The problem

Write a function countVowels(text). It gives back how many vowels (a, e, i, o, u) are in the text. Capital letters count too.

You will practice: strings, loops, includes, lower case

Mode

Press Tab to indent. Press Esc and then Tab to move on to the next button.

Your code runs in your browser. We do not receive it or save it.

Test results

      What your code printed