let num = [1,2,3,4,5,6];

for (let i = 1; i <= num.length; i++) {
    if (i % 2===0) {
        console.log(i * 100)
    }else{
        console.log(i)
    }
}

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: