+ 1

Please i want to write a script which counts the vowel number of a word and displays it on the screen

Javascript

28th May 2020, 1:53 AM
Yvan Wafo
Yvan Wafo - avatar
13 Respuestas
+ 3
"This is a simple text".toLowerCase ().split ("").filter (ch=>"aeiou".includes (ch));
28th May 2020, 5:27 AM
Sarthak Pokhrel
Sarthak Pokhrel - avatar
+ 1
Thanks
28th May 2020, 5:37 AM
Yvan Wafo
Yvan Wafo - avatar
+ 1
Please can this script count the number of vowel and return it ???
28th May 2020, 5:42 AM
Yvan Wafo
Yvan Wafo - avatar
+ 1
alert( "This is a simple text".toLowerCase ().split ("").filter (ch=>"aeiou".includes (ch)).length )
28th May 2020, 5:44 AM
Sarthak Pokhrel
Sarthak Pokhrel - avatar
0
Var a=prompt("enter any word") ; Function content ; If (a content "a", "e","u","i","o",) I'm lock here please
28th May 2020, 2:20 AM
Yvan Wafo
Yvan Wafo - avatar
0
Please where can i put it ???
28th May 2020, 2:26 AM
Yvan Wafo
Yvan Wafo - avatar
0
Ok you think it is all ???
28th May 2020, 2:29 AM
Yvan Wafo
Yvan Wafo - avatar
0
Excuse me sir i'm a beginner excuse me to disturb you
28th May 2020, 2:30 AM
Yvan Wafo
Yvan Wafo - avatar
0
Thank you sir i Will try to do it
28th May 2020, 2:33 AM
Yvan Wafo
Yvan Wafo - avatar
0
sorry i didn't succeed
28th May 2020, 2:40 AM
Yvan Wafo
Yvan Wafo - avatar
0
Please can you send me all the code ???
28th May 2020, 5:32 AM
Yvan Wafo
Yvan Wafo - avatar
28th May 2020, 5:35 AM
Sarthak Pokhrel
Sarthak Pokhrel - avatar
0
Yvan Wafo try .length
28th May 2020, 5:43 AM
Sarthak Pokhrel
Sarthak Pokhrel - avatar