The Student Room Group

Idea badge maker 3 terraforming thing

I looked at several other forums but I just can't get it working
currently what I wrote is:
var terraformingFunctions = [water,gasses,light,atmosphere,temperature]

for(i=0;<terraformingFunctions.lenght;i++) {
playSound(terraformingFunctions.init());
}

and the hint says this:

Write a loop statement to go through the terraforming functions. Call the functions inside the loop by adding terraformingFunctions.init();

If you're struggling to write a loop, here is an example of one from earlier on in the badge.

var soundBlocks = [crash,happyBeep,whistle];

for(i=0;i<soundBlocks.lenght;i++) {
playSound(soundBlocks)
}

You need to do the same, but use terraformingFunctions instead of soundBlocks. Inside the loop, you must place terraformingFunctions.init();

please help me.
(edited 2 years ago)
Look at your for loop and look at the example. You’re missing something I think…
Original post by mr_cullis
look at your for loop and look at the example. You’re missing something i think…


oh realy
i am on gold and i need help on the chat bot part

Quick Reply