+ 1
Please i want to write a script which counts the vowel number of a word and displays it on the screen
Javascript
13 odpowiedzi
+ 3
"This is a simple text".toLowerCase ().split ("").filter (ch=>"aeiou".includes (ch));
+ 1
Thanks
+ 1
Please can this script count the number of vowel and return it ???
+ 1
alert(
"This is a simple text".toLowerCase ().split ("").filter (ch=>"aeiou".includes (ch)).length
)
0
Var a=prompt("enter any word") ;
Function content ;
If (a content "a", "e","u","i","o",)
I'm lock here please
0
Please where can i put it ???
0
Ok you think it is all ???
0
Excuse me sir i'm a beginner excuse me to disturb you
0
Thank you sir i Will try to do it
0
sorry i didn't succeed
0
Please can you send me all the code ???
0
Yvan Wafo
try .length