Loops prject

//What I will say in English.
const input =‘Hello, I like to study here.’
//The sound system of whale talk.
const vowels = [‘a’, ‘e’, ‘i’, ‘o’, ‘u’]
//The results of the translation.
const resultArray =

for(let inputIndex = 0; inputIndex<input.length; inputIndex++);{
for(let vowelsIndex = 0; vowelsIndex<vowels.length; vowelsIndex++);{
if (input[inputIndex]===vowels[vowelsIndex]){
console.log(input[inputIndex])
}
}
}

why in the help video this right but I am getting a inputIndex is not defined error for line 12 if it is defined on line 7?

// You wrote:
for(let inputIndex = 0; inputIndex<input.length; inputIndex++);{
    for(let vowelsIndex = 0; vowelsIndex<vowels.length; vowelsIndex++);{

// It should be:
for(let inputIndex = 0; inputIndex<input.length; inputIndex++) {
    for(let vowelsIndex = 0; vowelsIndex<vowels.length; vowelsIndex++) {

// There shouldn't be semi-colons after the closing parentheses
// of the expressions i.e
for (...) ; {     // Incorrect  
for (...)  {      // Correct  
1 Like

I didn’t notes that, thanks.